2016 · 33 citations · 27 references
ComputingComputer EngineeringComputer ScienceOperating SystemsParallel AlgorithmsParallel ComputingData LocalityData Locality OptimizationMemory HierarchyShared-memory MultiprocessingShared-memory ParallelismTask ParallelismData PlacementNon-uniform Memory AccessParallel ProgrammingShared MemoryShared Memory SystemsTask Parallel Programming ModelsTask Parallelism In Shared-memory SystemsTask Placement
Dynamic task-parallel programming models are popular on shared-memory systems, promising enhanced scalability, load balancing and locality. Yet these promises are undermined by non-uniform memory access (NUMA). We show that using NUMA-aware task and data placement, it is possible to preserve the uniform abstraction of both computing and memory resources for task-parallel programming models while achieving high data locality. Our data placement scheme guarantees that all accesses to task output data target the local memory of the accessing core. The complementary task placement heuristic improves the locality of task input data on a best effort basis. Our algorithms take advantage of data-flow style task parallelism, where the privatization of task data enhances scalability by eliminating false dependences and enabling fine-grained dynamic control over data placement. The algorithms are fully automatic, application-independent, performance-portable across NUMA machines, and adapt to dynamic changes. Placement decisions use information about inter-task data dependences readily available in the run-time system and placement information from the operating system. We achieve 94% of local memory accesses on a 192-core system with 24 NUMA nodes, up to 5x higher performance than NUMA-aware hierarchical work-stealing, and even 5.6x compared to static interleaved allocation. Finally, we show that state-of-the-art dynamic page migration by the operating system cannot catch up with frequent affinity changes between cores and data and thus fails to accelerate task-parallel applications.
27
Sorting networks and their applications
Kenneth E. Batcher · 1968 · 2.4K citations
Philippe Charles, Christian Grothoff, Vijay Saraswat et al. · 2005 · 1.3K citations
Robert D. Blumofe, Christopher F. Joerg, Bradley C. Kuszmaul et al. · 1995 · 1K citations · Full text
Proceedings of the 2017 USENIX Annual Technical Conference (USENIX ATC ’17)
Do Le Quoc, Martin S. Beck, Pramod Bhatotia et al. · 2017 · 611 citations