Impact of Data Structure Layout on Performance
Authors:
- Nuno FariaNFNuno Faria
- Rui SilvaRSRui Silva
- João L. SobralJSJoão L. Sobral
- 1 February 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10666192,p. 116-120
Abstract
One key issue to design parallel applications that scale on multicore systems is how to overcome the memory bottleneck. This paper presents a study of the impact of data structure layouts in locality of memory references, providing insights on strategies to ameliorate the memory bottleneck. The paper compares the performance of Java and C++ STL collections and presents the impact of locality of reference optimisations in a molecular dynamics simulation case study. The case study shows that the selected data structure layout has impact on single core performance, becoming a critical factor in the application scalability on multicore systems. Moreover, data collections provided in the Java language compromise performance due to pointer chasing and lack of spatial locality of memory references.Keywords
This publication has 6 references indexed in Scilit:
- Automatic array inlining in java virtual machines2008
- Data layouts for object-oriented programs2007
- An experimental comparison of cache-oblivious and cache-conscious programs2007
- Achieving strong scaling with NAMD on Blue Gene/L2006
- A Portable Programming Interface for Performance Evaluation on Modern ProcessorsThe International Journal of High Performance Computing Applications, 2000
- A benchmark suite for high performance JavaConcurrency: Practice and Experience, 2000