A Novel O(1) Deadlock Detection Methodology for Multiunit Resource Systems and Its Hardware Implementation for System-on-Chip
Issue No.12 - December (2008 vol.19)
Xiang Xiao , Indiana University-Purdue University Indianapolis, Indianapolis
Jaehwan John Lee , Indiana University-Purdue University Indianapolis, Indianapolis
DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/TPDS.2008.56
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(m?n), 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 MDDU16x16 on our example MPSoC.
Deadlocks, Algorithms implemented in hardware, Real-time and embedded systems
Xiang Xiao, Jaehwan John Lee, "A Novel O(1) Deadlock Detection Methodology for Multiunit Resource Systems and Its Hardware Implementation for System-on-Chip", IEEE Transactions on Parallel & Distributed Systems, vol.19, no. 12, pp. 1657-1670, December 2008, doi:10.1109/TPDS.2008.56