Title :
A Novel O(1) Deadlock Detection Methodology for Multiunit Resource Systems and Its Hardware Implementation for System-on-Chip
Author :
Xiao, Xiang ; Lee, Jaehwan John
Author_Institution :
Dept. of Electr. & Comput. Eng., Indiana Univ.-Purdue Univ. Indianapolis, Indianapolis, IN
Abstract :
This article describes a novel parallel multi-unit resource deadlock detection algorithm (MDDA) and its hardware implementation (MDDU). The contributions are (i) the first O(1) hardware deadlock detection, (ii) reduced O(min(m, n)) preparation, where m and n are the number of processes and resources, respectively, and (iii) support for multi-unit resources. O(min(m, n)), previously O(mtimesn), is achieved by performing all the searches for sink nodes for each and every resource in parallel in hardware over two matrices representing resource allocations as well as other auxiliary matrices. MDDU provides a fast and deterministic deadlock detection mechanism for multiprocessor system-on-chips (MPSoCs), which we predict will become prevalent in the near future in system designs. Our experiments demonstrate that MDDU always takes two clock cycles to detect deadlock regardless the size of the system. Lastly, the MPSoC area overhead due to MDDU is small, approximately 0.024 percent for MDDU16 x 16 on our example MPSoC.
Keywords :
computational complexity; concurrency control; matrix algebra; microprocessor chips; parallel algorithms; resource allocation; system-on-chip; O(1) hardware deadlock detection; auxiliary matrix; multiprocessor system-on-chip; parallel multiunit resource deadlock detection algorithm; resource allocation; Algorithms implemented in hardware; Deadlocks; Real-time and embedded systems;
Journal_Title :
Parallel and Distributed Systems, IEEE Transactions on
DOI :
10.1109/TPDS.2008.56