Multy-core CPUs
Bert Freudenberg
bert at freudenbergs.de
Fri Oct 19 22:11:08 UTC 2007
On Oct 19, 2007, at 23:53 , subbukk wrote:
> 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.
This is probably much more the fault of Morphic and Etoys than the
VM's. Would that we had time to start optimizing for OLPC ... but
even then it's not certain how far you can get with the current
Morphic design.
- Bert -
More information about the Squeak-dev
mailing list
|