Skip to main content

MAX_FANOUT

Constant MAX_FANOUT 

Source
const MAX_FANOUT: usize = 16;
Expand description

The widest a single search will fan out across blocks.

Past this the win is not CPU. A block scan is mostly page faults, the device answers them at its own rate, and every extra thread is one more spawn and one more shootdown for the same IO.