Abstract :
Accurately bounding the worst-case blocking for finite job sets, a special case of the classic sporadic task model of recurrent real-time systems, using either nested FIFO-or priority-ordered locks on multiprocessors is NP-hard. These intractability results are obtained with reductions from the Multiple-Choice Matching problem. The reductions are quite general and do not depend on (1) whether the locks are spin-or suspension-based, or (2) whether global or partitioned scheduling is used, or (3) which scheduling policy is employed (as long as it is work-conserving). Further, we show that, for a special case in which the blocking analysis problem is NP-hard for FIFO- and priority-ordered locks, the problem for unordered spin locks with nested critical sections can be answered in polynomial time by solving a reach ability problem on a suitably constructed graph, although (or rather, because) unordered locks do not offer any acquisition-order guarantees. Finally, we identify several challenging open problems, pertaining both to circumventing the hardness results and to classifying the inherent difficulty of the problem more precisely.
Keywords :
computational complexity; multiprocessing systems; processor scheduling; reachability analysis; real-time systems; FIFO-ordered locks; NP-hard problem; classic sporadic task model; global scheduling; multiple-choice matching problem; multiprocessors; partitioned scheduling; polynomial time; priority-ordered locks; reachability problem; recurrent real-time systems; spin-based locks; suspension-based locks; worst-case blocking analysis; Analytical models; Bismuth; Delays; Optimization; Program processors; Real-time systems; Schedules; Blocking Analysis; Complexity; Multiprocessor; NP-Hardness; Nested Locks; Real-Time;