On Thu, Feb 08, 2018 at 02:19:55PM -0800, Rohit Jain wrote: > This patch introduces the sysctl for sched_domain based migration costs. > These in turn can be used for performance tuning of workloads.
Smells like a bad attempt to (again) revive commit: 0437e109e184 ("sched: zap the migration init / cache-hot balancing code") Yes, the migration cost would ideally be per domain, in practise it all sucks because more tunables is more confusion. And as that commit states, runtime measurements suck too, they cause run-to-run variation which causes repeatability issues and degrade boot times. Static numbers suck worse, because they'll be wrong for everyone.