LWN: Comments on "Deadline scheduling part 1 — overview and theory" https://lwn.net/Articles/743740/ This is a special feed containing comments posted to the individual LWN article titled "Deadline scheduling part 1 — overview and theory". en-us Sat, 01 Nov 2025 02:14:41 +0000 Sat, 01 Nov 2025 02:14:41 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Deadline scheduling part 1 — overview and theory https://lwn.net/Articles/744792/ https://lwn.net/Articles/744792/ bristot-memorial <div class="FormattedComment"> Hi!<br> <p> There is one mechanism on the Linux implementation of the deadline scheduler that prevents the domino effect. This mechanism is the CBS. It will be explained in the next article of the series ;).<br> </div> Fri, 19 Jan 2018 15:17:03 +0000 Deadline scheduling part 1 — overview and theory https://lwn.net/Articles/744731/ https://lwn.net/Articles/744731/ iabervon <div class="FormattedComment"> I'm surprised that the deadline scheduler doesn't preempt tasks that run over their declared run time, either immediately or at the point where they would interfere with other tasks making their deadlines. Preempting them immediately seems like it would be technically easy, since that's normal scheduler functionality, and like it would be necessary to meet the goal of having the fewest possible misses if the requested schedule is impossible, as well as penalizing the task that makes the schedule impossible.<br> </div> Thu, 18 Jan 2018 17:39:44 +0000 Deadline scheduling part 1 — overview and theory https://lwn.net/Articles/744534/ https://lwn.net/Articles/744534/ Cyberax <div class="FormattedComment"> Back when I was doing schedulers for distributed computing, we converged on a bin-packing algorithm with some heuristics to handle its pathological cases. <br> <p> It worked wonders and was simple to implement.<br> </div> Tue, 16 Jan 2018 21:33:45 +0000 Deadline scheduling part 1 — overview and theory https://lwn.net/Articles/744531/ https://lwn.net/Articles/744531/ bristot-memorial <div class="FormattedComment"> There are some nice results with semi-partitioned scheduling in the academic world, like this:<br> <p> <a href="http://drops.dagstuhl.de/opus/volltexte/2017/7165/pdf/LIPIcs-ECRTS-2017-13.pdf">http://drops.dagstuhl.de/opus/volltexte/2017/7165/pdf/LIP...</a><br> <p> Actually, we are already working on it, but still, it is not optimal.<br> </div> Tue, 16 Jan 2018 20:27:12 +0000 Deadline scheduling part 1 — overview and theory https://lwn.net/Articles/744519/ https://lwn.net/Articles/744519/ jreiser The bin-packing strategy First Fit Decreasing has a tight <a href="http://www.sciencedirect.com/science/article/pii/S0304397513006774">bound</a> of 11/9 optimal, plus 2/3. Tue, 16 Jan 2018 19:30:59 +0000 Deadline scheduling part 1 — overview and theory https://lwn.net/Articles/744517/ https://lwn.net/Articles/744517/ Cyberax <div class="FormattedComment"> <font class="QuotedText">&gt; Distribution of tasks to processors turns out to be an NP-hard problem (a bin-packing problem, essentially) and, due to other anomalies, there is no dominance of one scheduling algorithm over any others.</font><br> Fortunately, the most naive bin-packing algorithm produces results that are at most 2 times worse than the optimal packing. <br> </div> Tue, 16 Jan 2018 19:09:34 +0000