When Erlang's Schedulers Initiate Work-Stealing

Erlang's BEAM VM schedulers primarily initiate work-stealing when their local run queues become empty, ensuring no CPU core remains idle if other schedulers have available tasks. This mechanism is part of the default 'compaction of load' strategy, aiming to keep as many scheduler threads fully utilized as possible.

Sources

Open the full topic