[Vm-dev] [Pharo-dev] Reducing the activity of the image
Eliot Miranda
eliot.miranda at gmail.com
Tue Feb 10 01:05:31 UTC 2015
Hi Tim,
On Mon, Feb 9, 2015 at 5:02 PM, tim Rowledge <tim at rowledge.org> wrote:
>
>
> On 09-02-2015, at 4:53 PM, Eliot Miranda <eliot.miranda at gmail.com> wrote:
> >
> > No. The heartbeat is extremely cheap. It is the idle loop that calls
> ioRelinquishProcessorForMicroseconds which in turn calls aioSleepForUsecs
> which calls select:
> >
>
> Happy to be shown wrong. That means it most likely is morphic and/or any
> other tucked away processes. On a Pi it seems to be about 15% cpu time, so
> there is certainly some interest in reducing it!
>
it is this one:
ProcessorScheduler>>idleProcess
"A default background process which is invisible."
[self relinquishProcessorForMicroseconds: 1000] repeat
If you recall the VW VM, that got rid of the background process and when
the VM scheduling loop finds nothing to run it calls a blocking routine.
--
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20150209/6d14fb5c/attachment.htm
More information about the Vm-dev
mailing list