Simulation with Erlang

Ulf Wiger <>
Wed Dec 13 10:05:39 CET 2000


On Wed, 13 Dec 2000, Ulf Wiger wrote:

>- The upcoming Erlang processor will schedule on clock cycles, which
>  should give very even scheduling

Of course, this is not true...

A process will still yield when waiting for a message, and might also
yield when entering a wait state (e.g. fetching from memory.)
This doesn't exactly amount to _even_ scheduling. However, preempting
processes based on CPU cycles rather than reductions (function calls)
seems more predictable.

/Uffe
-- 
Ulf Wiger                                    tfn: +46  8 719 81 95
Senior System Architect                      mob: +46 70 519 81 95
Strategic Product & System Management    ATM Multiservice Networks
Data Backbone & Optical Services Division      Ericsson Telecom AB




More information about the erlang-questions mailing list