DocumentCode :
2767905
Title :
0/1 Knapsack on Hardware: A Complete Solution
Author :
Nibbelink, Kevin ; Rajopadhye, Sanjay ; McConne, Ross
Author_Institution :
Colorado State Univ, Fort Collins
fYear :
2007
fDate :
9-11 July 2007
Firstpage :
160
Lastpage :
167
Abstract :
We present a memory efficient, practical, systolic, parallel architecture for the complete 0/1 knapsack dynamic programming problem, including backtracking. This problem was intentionally selected because its dynamic dependencies introduce difficulties in hardware implementation. The architecture uses a divide-and-conquer technique that results in a pseudo-linear memory requirement. This memory reduction comes in exchange for a factor of two slowdown due to redundant computation. The architecture uses Theta(n + p(C + Wmax)) memory and the run time is Theta(nC/p + nlog(n/p)). The heart of the architecture is a systolic module to compute the optimal profit for any problem that fits in available hardware resources. We implemented the module using 64 processors on an Alpha Data coprocessor board using a Xilinx VirtexII FPGA(2001 technology). Our implementation showed a factor of 32 improvement on the total execution time over a sequential algorithm running on a 1.5 GHz Xeon processor(2000 technology) and a factor of 16 improvement over a 3.2 GHz Pentium 4(2004 technology) and a 64 bit 3.4 GHz Pentium 4 (2006 technology). We measured complete wall-clock time, including the time to download the problem to the board, but not the time to download the bit stream to the FPGA.
Keywords :
computational complexity; divide and conquer methods; dynamic programming; field programmable gate arrays; knapsack problems; Alpha Data coprocessor; Xilinx VirtexII FPGA; divide-and-conquer technique; knapsack dynamic programming problem; parallel architecture; pseudo-linear memory requirement; sequential algorithm; Computer architecture; Coprocessors; Difference equations; Dynamic programming; Field programmable gate arrays; Hardware; Heart; Parallel architectures; Software measurement; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Application-specific Systems, Architectures and Processors, 2007. ASAP. IEEE International Conf. on
Conference_Location :
Montreal, Que.
ISSN :
2160-0511
Print_ISBN :
978-1-4244-1026-2
Electronic_ISBN :
2160-0511
Type :
conf
DOI :
10.1109/ASAP.2007.4429974
Filename :
4429974
Link To Document :
بازگشت