TL;DR
This paper introduces a novel "Fault-Tolerant (FT) policy" that enhances the reliability of real-time multiprocessor systems by intelligently re-executing tasks without sacrificing their schedulability. This approach addresses the critical need for robust systems in safety-critical domains like aerospace and defense, where failures can have severe consequences.
What Problem Does This Paper Address?
Hard real-time systems, crucial for applications in military, aerospace, and astronautics, demand not only correct outputs but also timely delivery. Failures in these systems can lead to catastrophic outcomes. While fault tolerance is essential, traditional re-execution techniques for improving reliability often compromise schedulability, meaning tasks might miss their deadlines. This is because re-execution inherently increases execution time, potentially causing interference and delaying other tasks. Existing methods often sacrifice schedulability for reliability or vice-versa. This paper aims to bridge this gap by providing a fault-tolerant scheduling framework that improves reliability without negatively impacting schedulability.
Methods
The core contribution is a new Fault-Tolerant (FT) policy designed to be integrated with existing real-time scheduling algorithms on multiprocessor systems. This policy leverages the re-execution technique but crucially incorporates a novel deadline-based schedulability analysis. The key innovation lies in how it determines the number of re-executions for each task (denoted by $A_k$) to ensure that the increased execution time due to re-execution does not cause any task to miss its deadline.
The FT policy works by:
- $A_k$-Assignment Algorithm: This algorithm determines the optimal number of re-executions ($A_k$) for each task. It iteratively increases $A_k$ for a task and checks for schedulability using the proposed analysis. If schedulability is compromised, it reverts to the last valid $A_k$.
- Deadline-Based Schedulability Analysis: This analysis is specifically adapted for the re-execution technique. It accounts for the increased execution time and potential interference caused by re-executions, ensuring that the system remains schedulable.
- Integration with Base Scheduling Algorithms: The FT policy is designed to be modular. The paper demonstrates its application to two common scheduling algorithms: Fixed-Priority (FP) scheduling and Earliest Deadline Zero-Laxity (EDZL) scheduling.
Datasets
The paper does not explicitly mention using pre-existing datasets. Instead, it describes a synthetic task set generation framework based on established methods [8, 15, 16]. This framework allows for the creation of diverse task sets with varying parameters, including:
- Number of processors ($m \in \{2, 4, 8, 16\}$).
- Task utilization distributions (bimodal or exponential).
- Task periods ($T_i$) uniformly chosen from [1, 1000].
- Relative deadlines ($D_i$) chosen within $[C_i, T_i]$.
10,000 task sets were generated for each processor configuration to evaluate the proposed algorithms.
Key Insights and Ideas
- Re-execution without Schedulability Loss is Possible: The most significant insight is that the re-execution technique, often seen as detrimental to schedulability, can be effectively employed if coupled with a robust schedulability analysis that dynamically determines the number of re-executions.
- System Safety as a Combined Metric: The paper introduces "system safety" as a metric that combines reliability and schedulability. A system is only considered safe if it is both reliable and schedulable, providing a more holistic view of performance.
- The Importance of Dynamic $A_k$ Assignment: Simply increasing re-executions arbitrarily (e.g., $A_k=2$ or $A_k=3$) can degrade system safety because it might lead to unschedulability. The proposed $A_k$-assignment algorithm is crucial for finding the right balance.
- FT Policy's Adaptability: The framework's modular design allows it to be integrated with various existing scheduling algorithms, making it broadly applicable.
Key Results
The paper demonstrates that the proposed FT policy significantly improves system reliability without sacrificing schedulability.
- Enhanced Reliability: The FT policy consistently increases the average system safety (a measure of combined reliability and schedulability) compared to base scheduling algorithms, especially under higher error rates ($\gamma$). For instance, figures show that FT-series algorithms outperform their base counterparts.
- Schedulability Preservation: The FT policy ensures that task sets deemed schedulable by the base algorithm remain schedulable even with the added re-execution mechanism. The number of schedulable task sets for FT-EDZL-Any and EDZL (and similar for FP variants) are shown to be the same in evaluation plots.
- Performance Gap: The performance gap between base algorithms and their FT-enhanced versions widens as the error rate ($\gamma$) increases, highlighting the FT policy's effectiveness in mitigating the impact of faults.
- Impact of Re-execution Count: Figure 5 illustrates that while increasing re-executions ($A_k$) improves reliability, excessive re-executions without proper schedulability analysis can lead to a decrease in overall system safety due to unschedulability.
Limitations and Future Work
- Focus on Transient Faults: The current FT policy primarily addresses transient faults. Extending it to handle permanent faults would be a valuable future direction.
- Symmetry Multiprocessors: The work is focused on symmetry multiprocessor systems where all processors are identical. Adapting the framework to heterogeneous multiprocessor systems could broaden its applicability.
- Response-Time Analysis: The paper suggests exploring more advanced schedulability analysis techniques, such as response-time analysis, to potentially further improve the analytical capability of the FT policy.
- Mixed-Criticality Systems: The authors plan to extend their work to mixed-criticality systems, where tasks have different criticality levels, which adds another layer of complexity to fault tolerance and scheduling.
Summary updated