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.

Get Linux Kernel in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.