Improving memory performance of sorting algorithms
- 31 December 2000
- journal article
- Published by Association for Computing Machinery (ACM) in ACM Journal of Experimental Algorithmics
Abstract
Memory hierarchy considerations during sorting algorithm design and implementation play an important role in significantly improving execution performance. Existing algorithms mainly attempt to reduce capacity misses on direct-mapped caches. To reduce other types of cache misses that occur in the more common set-associative caches and the TLB, we restructure the mergesort and quicksort algorithms further by integrating tiling, padding, and buffering techniques and by repartitioning the data set. Our study shows that substantial performance improvements can be obtained using our new methods.Keywords
This publication has 6 references indexed in Scilit:
- Cacheminer: A runtime approach to exploit cache locality on SMPIEEE Transactions on Parallel and Distributed Systems, 2000
- Cache-optimal methods for bit-reversalsPublished by Association for Computing Machinery (ACM) ,1999
- Data transformations for eliminating conflict missesPublished by Association for Computing Machinery (ACM) ,1998
- Avoiding conflict misses dynamically in large direct-mapped cachesPublished by Association for Computing Machinery (ACM) ,1994
- ATOMPublished by Association for Computing Machinery (ACM) ,1994
- Implementing Quicksort programsCommunications of the ACM, 1978