Abstract
In high-reliability real-time systems, the ability to handle processor failures while meeting strict deadlines is critical. This paper introduces the Dynamic Grouping PB-BB (DG_PB-BB) algorithm, which integrates hybrid overloading—combining primary-backup (PB) and backup-backup (BB) techniques—within a novel dynamic processor grouping framework. Unlike static grouping methods, DG_PB-BB clusters processors based on task dependencies, enabling the system to tolerate multiple concurrent faults. Simulation results indicate that DG_PB-BB maintains a high Guarantee Ratio even under significant fault loads, outperforming traditional scheduling strategies.
Introduction
Real-time multiprocessor systems in domains such as aerospace and telecommunications require robust fault-tolerance mechanisms. A common approach is the Primary-Backup (PB) model, where each task has a primary version ($pr$) and a backup version ($bk$) scheduled on different processors. To optimize resource utilization and avoid the need for excessive hardware, "overloading" techniques are employed to squeeze more tasks into the existing schedule.
Hybrid Overloading Mechanisms
The proposed algorithm leverages hybrid overloading, which consists of two main strategies:
- PB Overloading: A backup task is scheduled in the same time slot as another task's primary version, assuming both will not require the slot simultaneously.
- BB Overloading: Multiple backup tasks are scheduled in the same time slot, assuming multiple processors will not fail concurrently.
As shown in Figure 1, tasks are distributed across processors to maximize overlap without violating safety constraints. However, traditional hybrid methods often assume a single-fault model or use rigid "logic grouping," which limits scalability and resilience in complex scenarios where multiple processors might fail.
The Dynamic Grouping Strategy
The core innovation of this research is the Dynamic Grouping PB-BB (DG_PB-BB) algorithm. Rather than using fixed logic groups, the system forms groups of processors on-the-fly based on "overloading task links." If a backup for a task on Processor A is scheduled on Processor B, these processors become linked.
Figure 2 illustrates how processors are partitioned into groups like $g_1$ and $g_2$. This grouping allows the system to tolerate at least one fault per group. Consequently, a system with many small dynamic groups can survive multiple simultaneous processor failures, provided they occur in different groups. The algorithm manages these groups through four formalized conditions: creating new groups, extending existing ones, or merging groups when a new task creates a bridge between them. To optimize these assignments, the algorithm uses an Allocation Parameter (AP) to balance scheduling efficiency with the need for fault tolerance.
Evaluation and Results
The algorithm was evaluated using synthetic simulations with task and fault arrivals following exponential distributions. Key metrics included the Guarantee Ratio (GR), which measures the percentage of tasks that successfully meet their deadlines.
The results showed that DG_PB-BB significantly outperforms standard hybrid algorithms (PB-BB_AP) and static Logic Grouping (LG). For instance, with four concurrent processor faults, DG_PB-BB maintained a GR between 0.8 and 0.9, while the standard algorithm's performance dropped to approximately 0.1. Furthermore, the dynamic grouping approach reduced computational complexity from $O(N^2 \cdot m^2)$ to $O(N^2 \cdot k^2)$, where $k$ is the average group size, making it more suitable for large-scale systems.
Conclusion
DG_PB-BB offers a scalable and resilient solution for fault-tolerant scheduling in multiprocessor environments. By breaking the "two-task" limit of previous overloading strategies and implementing dynamic grouping, it provides superior reliability and efficiency. While the current model assumes zero communication cost and a centralized dispatcher, future research will focus on refining the strategy for distributed architectures and high-variance task execution times.
Summary updated