Skip to main content

MESSAGES_PER_TURN

Constant MESSAGES_PER_TURN 

Source
pub const MESSAGES_PER_TURN: usize = 80;
Expand description

The most messages of one worker handled in one turn of the master’s lock: what is queued gets through together, and a long queue doesn’t hold rounds and other workers up for long (at most this many Finished, each a few writes; the rest waits for the next turn). 80 from M5.1e’s stress runs (decision 484): bursts recorded fastest, steady throughput unchanged.