[Vm-dev] OS X Mavericks & cog tickers
Eliot Miranda
eliot.miranda at gmail.com
Thu Oct 24 23:59:08 UTC 2013
On Thu, Oct 24, 2013 at 4:18 PM, John McIntosh <
johnmci at smalltalkconsulting.com> wrote:
>
> Well let me reflect.
> Nothing has changed, the VM energy sapping field is the same as
> yesterday, just more evident.
>
> I wasn't able to determine what code base is used, but if I go back 5 or
> 10 years.
>
> (a) The morphic event polling cycle runs 50 times a second. One could
> write some timer consolidation code there to consider when do I have to
> wake up and paint all those morphs? No C/Objective-C/assembler/fortran
> required...
>
> (b) Maybe the VMs are event driven now and Morphic does not need to poll
> 50 times a second?
>
Ah, that's the right code word. yes, the VMs should be event-driven.
>
> (c) The BSD Unix socket system requires polling of some form. But see
> work by Craig 10-15 back on "Flow"
>
> (d) When all the Smalltalk Processes settle, the dispatcher runs the
> lowest priority task which calls relinquishProcessorForMicroseconds with
> a bogus value.
>
>
>
>
> On Thu, Oct 24, 2013 at 6:21 PM, tim Rowledge <tim at rowledge.org> wrote:
>
>>
>> Looking through some of the low-level changes in Mavericks I noticed
>> stuff about timer consolidation. I *think* that it is something that you
>> can offer to allow, rather than something done unto you code, but almost
>> certainly it will have some sort of impact on the heartbeat ticker type of
>> code used in stackvm/cog. Where is a skilled Mac vm maintainer when you
>> need one?
>>
>> tim
>> --
>> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
>> "bOtHeR" said Pooh, mistaking the LSD tablet for aspirin
>>
>>
>>
>
>
> --
> ===========================================================================
> John M. McIntosh <johnmci at smalltalkconsulting.com>
> Corporate Smalltalk Consulting Ltd. Twitter: squeaker68882
> ===========================================================================
>
>
>
--
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20131024/d79b9487/attachment.htm
More information about the Vm-dev
mailing list