The Linux Scheduler: A Decade of Wasted Cores (2016)
blog.acolyer.org
The Linux Scheduler: A Decade of Wasted Cores (2016)
1–10 of 36 posts
Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#2Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#3Article is from 2016. Previous discussion: https://news.ycombinator.com/item?id=11570606
Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#4Article is from 2016. Previous discussion: https://news.ycombinator.com/item?id=11570606
Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#5Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#6DBAs knew about this for many years now. We would simply change the schedular on the DB servers.
Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#7If I recall correctly, 2000 is 2.3.x which had a braindead trivial scheduler. Basically it just looped through the process list and executed goodness() and found the 'best'. This was obscenely slow when there were a lot of dormant processes. The process table links all mapped to the same cache set which led to cache evictions during the scheduling loop, even TLB evictions. Et cetera. It was just bad, really really bad. Compared to its BSD, Solaris, ... contemporaries, it was garbage.
The O(1) scheduler starts in 2.4 at the tail end of 2000 followed by the Completely Fair Scheduler in 2007, etc. And the Linux scheduler continues to get better. But in 2000, it sucked. Reeked.
Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#8DBAs knew about this for many years now. We would simply change the schedular on the DB servers.
I think you might be confusing CPU schedulers and IO schedulers. Linux never had switchable CPU schedulers.
Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#9Earlier quoted context omitted.
I think you might be confusing CPU schedulers and IO schedulers. Linux never had switchable CPU schedulers.
Sure it does: http://man7.org/linux/man-pages/man2/sched_setscheduler.2.ht...
Re: The Linux Scheduler: A Decade of Wasted Cores (2016)
#10> The evolution of scheduling in Linux By and large, by the year 2000, operating systems designers considered scheduling to be a solved problem… If I recall correctly, 2000 is 2.3.x which had a braindead trivial scheduler. Basically it just looped through the process list and executed goodness() and found the 'best'. This was obscenely slow when there were a lot of dormant processes. The process table links all mappe…