Hi all,
I'm currently running the VM: Squeak3.6 of '6 October 2003' [latest update: #5429], , with any of the images (3.6, 3.7 and 3.8) and I'm having some issues with High Utilization on a Gentoo Linux box
Whenever I open a MVC project, squeak hogs my cpu at 96% on a constant basis. This is a new empty MVC project, that contains nothing. It also opens slowly, and opening windows (like a browser) takes a bit of time.
On a Morphic project everything is fine, and my squeak seldom uses 5% of the cpu.
Does anybody else have similar issues, and perhaps any idea where I can start looking to see what in the squeak mvc project is hogging the cpu ?
Thanks Gerard
"Gerard Korsten" gerard@shadowrain.co.za wrote:
Hi all,
I'm currently running the VM: Squeak3.6 of '6 October 2003' [latest update: #5429], , with any of the images (3.6, 3.7 and 3.8) and I'm having some issues with High Utilization on a Gentoo Linux box
I've no idea what 'High Utilization' might be but the basic problem you face here is polling. MVC controllers whizz round in a tight loop looking for something to do. Thus the VM code to check for any new events gets exercised very, very frequently. On my 600MHz RISC OS box it can get up to 50,000 polls per second without some sort of throttling code in place. A 3.6 vm is relatively old so you might find a more recent one has some sort of throttling on the event checking. Or not.
A secondary issue is that Squeak _always_ has something to do even when there are no new events from the OS. Background processes, animation (usually in morphic anyway), timer signal checking, reporting your web browsing activity to the FBI, all that stuff. We do actually have a relinquish processor prim available that I think is called in the default background process but the details of the implementation are completely platform dependent.
tim -- Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim Useful random insult:- Gets parity errors under load.
On Wed, 25 May 2005 12:28:20 -0700, Tim Rowledge tim@rowledge.org wrote:
"Gerard Korsten" gerard@shadowrain.co.za wrote:
Hi all,
I'm currently running the VM: Squeak3.6 of '6 October 2003' [latest update: #5429], , with any of the images (3.6, 3.7 and 3.8) and I'm having some issues with High Utilization on a Gentoo Linux box
I've no idea what 'High Utilization' might be but the basic problem you face here is polling. MVC controllers whizz round in a tight loop looking for something to do. Thus the VM code to check for any new events gets exercised very, very frequently. On my 600MHz RISC OS box it can get up to 50,000 polls per second without some sort of throttling code in place. A 3.6 vm is relatively old so you might find a more recent one has some sort of throttling on the event checking. Or not.
A secondary issue is that Squeak _always_ has something to do even when there are no new events from the OS. Background processes, animation (usually in morphic anyway), timer signal checking, reporting your web browsing activity to the FBI, all that stuff. We do actually have a relinquish processor prim available that I think is called in the default background process but the details of the implementation are completely platform dependent.
tim
Tim Rowledge, tim@rowledge.org, http://www.rowledge.org/tim Useful random insult:- Gets parity errors under load.
Oh, sorry forgot to add this: High Utilization := 96%+ of cpu used continously. I'll see what happens if I install VM 3.7b for linux(unix) - perhaps it will fix the issue.
Thanks Gerard.
squeak-dev@lists.squeakfoundation.org