Multy-core CPUs
subbukk
subbukk at gmail.com
Fri Oct 19 21:53:15 UTC 2007
On Saturday 20 October 2007 1:44 am, tim Rowledge wrote:
> On 19-Oct-07, at 1:06 PM, subbukk wrote:
> > I am not so sure. Squeak VM is a processor hog.
>
> No it isn't. It uses cpu when there is a process to run. If there is
> no process to run, it sleeps.
> It's the code in the image that gets to decide when processes run or
> sleep.
I was referring to VM process executing bytecodes in images. Bytecode
interpretation is a cpu intensive process.
For instance, the Linux VM running latest etoy-dev consumes a steady 7-12% of
cpu if I just drag a polygon object and make it do a forward/turn loop about
once a second.
Still, Squeak is a lot smaller and more efficient compared to other
interpreters.
Subbu
More information about the Squeak-dev
mailing list
|