[squeak-dev] Re: CPU of headless Squeak Image

Udo Schneider Udo.Schneider at homeaddress.de
Wed Feb 18 19:46:49 UTC 2009


John M McIntosh schrieb:
> well Project uiProcess suspend  deals with the Morphic UI process which 
> is polling events from the UI event queue and running morphic subclass 
> step cycles,
So it seems it's at least no bad idea to keep it in my startup script.

> You can test the effect of doing a Project uiProcess suspend in a test 
> image, you'll note all mouse interaction etc stops. So that is NOT 
> consuming cpu cycles.
Did that ... in my working image ;-) Fortunately I saved a few minutes 
before.

> What you can do is attach to the running application with Gnu debug then 
> stop it, and then invoke
> call (int) printAllStacks()  and example the output, that will be the 
> stack trace of all running processes.
I just finished installing openSuse 10.3 and now the same script/image 
runs with 0.2%-2% CPU load. I'll try to recreate a VMWare with the 
CentOS 5 image and start debugging

> They should all be waiting in some delay
> 
> except for the   idle loop process which will run from time to time to 
[...]
> is nothing for a GC rate, also it accounting for only 0.0003 % of clock 
> time per second.
Thanks for the detailed info. Highly appreciated!

CU,

Udo




More information about the Squeak-dev mailing list