by haberman · 10y ago · 0 comments
If this result is true, our Linux machines have been wasting 13-24% of our silicon and energy for years (that number is for "typical Linux workloads") because the scheduler fails to fulfill its most basic duty.
The quotes from Linus in the paper just twist the knife.
Do you run on a server? Has it been made in the last 3 - 5 years? Then you are running a NUMA system.
I'd find it hard to believe we missed a 13-24% win on all Linux systems anyway. Linux undergoes intense performance analysis, including checking for poor scheduling behavior.
This sounds very much like a bug on 8 node NUMA systems. There's been lots of scheduling bugs over the years.
[1] - http://csl.stanford.edu/~christos/publications/2015.heracles...
* is the system compute bound or io bound? - in the latter case the waste will be smaller.
* How does this compare to other OSes? If it the most efficient available kernel for your workload, compared to other options, it is questionable to say it fails.
"Resulting performance degradations are in the range 13-24% for typical Linux workloads, and reach 138× in some corner cases. Energy waste is proportional."