How does the scheduler assign priorities?
Tue Jan 3 14:41:05 CET 2006
How does the scheduler assign priorities then? Is there a particular
source code file that I should look at? I'm very interested in the
logic behind it.
So far it looks like a priority-based approach where priorities are
assigned depending on the number of reductions. How many reductions
does a process get before it is rescheduled? Is there a way to
On Jan 3, 2006, at 1:03 PM, Raimo Niskanen wrote:
> There is a small fix in the scheduler for the standard
> producer/consumer problem: A process that sends to a
> receiver having a large receive queue gets punished
> with a large reduction (number of function calls)
> count for the send operation, and will therefore
> get smaller scheduling slots.
More information about the erlang-questions