[Paper Review] A Framework for Automated Competitive Analysis of On-line Scheduling of Firm-Deadline Tasks
This paper presents a flexible, automated framework for competitive analysis of online scheduling algorithms for firm-deadline real-time tasks using multi-objective graphs. By modeling on-line and off-line schedulers as labeled transition systems and encoding adversary constraints (e.g., sporadicity, workload limits), the framework reduces competitive ratio computation to a multi-objective graph problem solvable in polynomial time, revealing that no single algorithm is universally optimal across all tasksets—highlighting the need for application-specific scheduler selection.
We present a flexible framework for the automated competitive analysis of on-line scheduling algorithms for firm-deadline real-time tasks based on multi-objective graphs: Given a taskset and an on-line scheduling algorithm specified as a labeled transition system, along with some optional safety, liveness, and/or limit-average constraints for the adversary, we automatically compute the competitive ratio of the algorithm w.r.t. a clairvoyant scheduler. We demonstrate the flexibility and power of our approach by comparing the competitive ratio of several on-line algorithms, including $D^{over}$, that have been proposed in the past, for various tasksets. Our experimental results reveal that none of these algorithms is universally optimal, in the sense that there are tasksets where other schedulers provide better performance. Our framework is hence a very useful design tool for selecting optimal algorithms for a given application.
Motivation & Objective
- To address the lack of automated tools for competitive analysis of online scheduling algorithms in real-time systems with firm deadlines.
- To enable precise, application-specific evaluation of scheduling algorithms by computing competitive ratios for given tasksets, rather than over all possible tasksets.
- To support diverse constraints on job sequences (e.g., sporadicity, limit-average load) to model realistic system behaviors.
- To provide a scalable, automated method that replaces manual derivation of worst-case scenarios with computational analysis.
- To guide application designers in selecting the optimal scheduler for their specific taskset and constraints.
Proposed method
- Model online and offline scheduling algorithms as labeled transition systems (LTS) to formally represent their behavior.
- Represent adversary constraints (e.g., sporadic job arrivals, average workload limits) using finite automata.
- Construct a product graph combining the online scheduler, offline scheduler (clairvoyant), and adversary constraint automata.
- Reduce the competitive ratio analysis problem to a multi-objective reachability problem on the product graph, with objectives for utility maximization and constraint satisfaction.
- Solve the multi-objective graph problem using polynomial-time algorithms, enabling automated computation of competitive ratios.
- Apply optimizations such as symmetry reduction and abstraction to reduce state space size and improve scalability.
Experimental results
Research questions
- RQ1What is the competitive ratio of a given online scheduling algorithm for a specific firm-deadline taskset with given constraints?
- RQ2Can we automatically identify the worst-case job sequence that minimizes the performance of an online scheduler relative to an optimal offline scheduler?
- RQ3How do different scheduling algorithms (e.g., TD1, Dover, FIFO, SRT) compare in competitive ratio under varying taskset configurations and constraints?
- RQ4Does the optimal scheduler remain consistent across different workload or arrival pattern constraints for the same taskset?
- RQ5Can the framework be extended to support additional constraints such as energy efficiency or multiple processors?
Key findings
- No single online scheduling algorithm is universally optimal across all tasksets, even without additional constraints.
- For the same taskset, the optimal scheduler can vary non-monotonically with tighter limit-average workload constraints, as shown in Table 1.
- The competitive ratio of TD1 approaches 1/4 from above as the taskset parameter η approaches 4, confirming the theoretical bound of 1/4 in zero-laxity, uniform value-density tasksets.
- In the series of tasksets parameterized by η, TD1 achieves competitive ratios of 1, 1/2, 7/25, and 1/4 for η = 2, 3, 3.1, and η ≥ 3.2, respectively.
- The framework computes competitive ratios in under a minute for small tasksets, with prototype runtimes ranging from 0.04s to 1342.59s, demonstrating feasibility on representative instances.
- The size of the product graph and solution time scale with taskset complexity (e.g., number of tasks N and maximum deadline Dmax), but optimizations significantly reduce state space.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.