pluggable schedulers vs. tunable schedulers
pluggable schedulers vs. tunable schedulers
Posted Sep 12, 2009 15:28 UTC (Sat) by mingo (subscriber, #31122)In reply to: pluggable schedulers vs. tunable schedulers by paragw
Parent article: BFS vs. mainline scheduler benchmarks and measurements
What i believe you are missing relates to the very first question i asked: wouldnt it be better if a scheduler had nice runtime tunables that achieved the same?
Your original answer was (in part and way up in the discussion):
If we had a nice modular scheduler interface that allows us to load a scheduler at runtime or choose which scheduler to use at boot time or runtime that would solve the complexity problem and it will work well for the workloads it was designed for. As a bonus I will not have to make decisions on values of tunables - we can make the particular scheduler implementation make reasonable assumptions for the workload it was servicing.
What you are missing is that 'boot time' or 'build time' schedulers (i.e. what PlugSched did in essence) are build time / boot time tunables. A complex one but still a knob as far as the user is concerned.
Furthermore they are worse tunables than nice runtime tunables. They inconvenience the user and they inconvenince the distro. Flipping to another scheduler would force a reboot. Why do that?
For example, it does not allow the example i suggested: to run Firefox under BFS while Thunderbird under another scheduler.
So build-time/boot-time pluggable schedulers have various clear usage disadvantages and there are also have various things they cannot do.
So if you want tunability then i cannot understand why you are arguing for the technically worse solution - for a build time or boot time solution - versus a nice runtime solution.
