(Mis)understanding the NUMA memory system performance of multithreaded workloads
Authors:
- 1 September 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 11-22
Abstract
An important aspect of workload characterization is understanding memory system performance (i.e., understanding a workload's interaction with the memory system). On systems with a non-uniform memory architecture (NUMA) the performance critically depends on the distribution of data and computations. The actual memory access patterns have a large influence on performance on systems with aggressive prefetcher units. This paper describes an analysis of the memory system performance of multithreaded programs and shows that some programs are (unintentionally) structured so that they use the memory system of today's NUMA-multicores inefficiently: Programs exhibit program-level data sharing, a performance-limiting factor that makes data and computation distribution in NUMA systems difficult. Moreover, many programs have irregular memory access patterns that are hard to predict by processor prefetcher units. The memory system performance as observed for a given program on a specific platform depends also on many algorithm and implementation decisions. The paper shows that a set of simple algorithmic changes coupled with commonly available OS functionality suffice to eliminate data sharing and to regularize the memory access patterns for a subset of the PARSEC parallel benchmarks. These simple source-level changes result in performance improvements of up to 3.1X, but more importantly, they lead to a fairer and more accurate performance evaluation on NUMA-multicore systems. They also illustrate the importance of carefully considering all details of algorithms and architectures to avoid drawing incorrect conclusions.Keywords
This publication has 18 references indexed in Scilit:
- Deconstructing the overhead in parallel applications2012
- Critical path-based thread placement for NUMA systemsACM SIGMETRICS Performance Evaluation Review, 2012
- Can traditional programming bridge the Ninja performance gap for parallel computing applications?2012
- Dynamic Fine-Grain Scheduling of Pipeline Parallelism2011
- Feedback-directed pipeline parallelism2010
- NUMA-aware memory manager with dominant-thread-based copying GC2009
- Analytical Modeling of Pipeline Parallelism2009
- Thread clustering2007
- Impact of sharing-based thread placement on multithreaded architectures2002
- A case for user-level dynamic page migration2000