[Vm-dev] OS X Mavericks & cog tickers
tim at rowledge.org
Thu Oct 24 23:38:50 UTC 2013
On 24-10-2013, at 4:34 PM, Igor Stasenko <siguctua at gmail.com> wrote:
> (e) Cog uses heartbeat timer to interrupt interpreter at regular time periods
> what can be done, i think it to suppress heartbeat, during relinquishProcessorForMicroseconds execution.
> but that won't buy much, unless we increase the time period to sleep to be times larger than heartbeat cycle (both are 1ms).
If I understood, the timer coalescing can push timers around to produce spurts of activity followed by quiescence; this results in better overall power performance. It *might* cause problems with a high-frequency heartbeat.
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
The problem with the gene pool is that there is no lifeguard.
More information about the Vm-dev