The Community for Technology Leaders
Green Image
<p><b>Abstract</b>—This article proposes a novel <tmath>O(n)</tmath> Parallel Banker's Algorithm (PBA), which is a parallelized version of the Banker's Algorithm (BA), a well-known <tmath>O(m\times n)</tmath> deadlock avoidance algorithm. We implement the approach in hardware, which we call PBA Unit (PBAU). PBAU is not a mere Verilog HDL translation of BA, but a novel, fully hardware-oriented implementation exploiting maximum hardware parallelism of all computations in BA, resulting in <tmath>O(1)</tmath> runtime complexity in the best case and <tmath>O(n)</tmath> in the worst. PBAU is an Intellectual Property (IP) block that provides a mechanism of very fast, automatic deadlock avoidance for Multiprocessor System-on-a-Chip (MPSoC), which we predict will be the mainstream of future high performance computing environments. Furthermore, our PBAU supports multiple instance multiple resource systems. We demonstrate that PBAU not only avoids deadlock in a few clock cycles (several orders of magnitude faster than BA in software), but also achieves, in a particular example, a 19 percent speedup of application execution time over avoiding deadlock in software. Lastly, the MPSoC area overhead due to PBAU is small, less than 0.05 percent in our candidate MPSoC example.</p>
Parallel Banker's Algorithm, deadlock avoidance in hardware, multiprocessor system-on-a-chip.
Jaehwan John Lee, Vincent John Mooney, "A Novel {O(n)} Parallel Banker's Algorithm for System-on-a-Chip", IEEE Transactions on Parallel & Distributed Systems, vol. 17, no. , pp. 1377-1389, December 2006, doi:10.1109/TPDS.2006.164
82 ms
(Ver 3.3 (11022016))