Name
migration_cost — Override the default scheduler migrations costs.
Synopsis
migration_cost=
level-1-useconds[level-2-useconds...]
This is a debugging option that overrides the default
scheduler migration cost matrix. The numbers specified by
level-N-useconds are indexed by the "CPU
domain distance" and are measured in microseconds.
An example of this option is migration_cost=1000,2000,3000 for a SMT
NUMA machine. It sets up an intra-core migration cost of 1 ms,
another inter-core migration cost of 2 ms, and another internode
migration cost of 3 ms.
Warning
Incorrect values can severely degrade scheduler performance, so this option should be used only for scheduler development, never for production environments.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access