Optimized On-Chip-Pipelined Mergesort on the Cell/B.E.
- Rikard HulténAffiliated withDept. of Computer and Inf. Science, Linköpings Universitet
- , Christoph W. KesslerAffiliated withDept. of Computer and Inf. Science, Linköpings Universitet
- , Jörg KellerAffiliated withDept. of Math. and Computer Science, FernUniversität in Hagen
Limited bandwidth to off-chip main memory is a performance bottleneck in chip multiprocessors for streaming computations, such as Cell/B.E., and this will become even more problematic with an increasing number of cores. Especially for streaming computations where the ratio between computational work and memory transfer is low, transforming the program into more memory-efficient code is an important program optimization. In earlier work, we have proposed such a transformation technique: on-chip pipelining.
On-chip pipelining reorganizes the computation so that partial results of subtasks are forwarded immediately between the cores over the high-bandwidth internal network, in order to reduce the volume of main memory accesses, and thereby improves the throughput for memory-intensive computations. At the same time, throughput is also constrained by the limited amount of on-chip memory available for buffering forwarded data. By optimizing the mapping of tasks to cores, balancing a trade-off between load balancing, buffer memory consumption, and communication load on the on-chip bus, a larger buffer size can be applied, resulting in less DMA communication and scheduling overhead.
In this paper, we consider parallel mergesort on Cell/B.E. as a representative memory-intensive application in detail, and focus on the global merging phase, which is dominating the overall sorting time for larger data sets. We work out the technical issues of applying the on-chip pipelining technique for the Cell processor, describe our implementation, evaluate experimentally the influence of buffer sizes and mapping optimizations, and show that optimized on-chip pipelining indeed reduces, for realistic problem sizes, merging times by up to 70% on QS20 and 143% on PS3 compared to the merge phase of CellSort, which was by now the fastest merge sort implementation on Cell.
- Optimized On-Chip-Pipelined Mergesort on the Cell/B.E.
- Book Title
- Euro-Par 2010 - Parallel Processing
- Book Subtitle
- 16th International Euro-Par Conference, Ischia, Italy, August 31 - September 3, 2010, Proceedings, Part II
- pp 187-198
- Print ISBN
- Online ISBN
- Series Title
- Lecture Notes in Computer Science
- Series Volume
- Series ISSN
- Springer Berlin Heidelberg
- Copyright Holder
- Springer-Verlag Berlin Heidelberg
- Additional Links
- Industry Sectors
- eBook Packages
- Editor Affiliations
- 16. ICAR-CNR
- 17. ICAR-CNR
- Author Affiliations
- 18. Dept. of Computer and Inf. Science, Linköpings Universitet, 58183, Linköping, Sweden
- 19. Dept. of Math. and Computer Science, FernUniversität in Hagen, 58084, Hagen, Germany
To view the rest of this content please follow the download PDF link above.