COSMIC
Srihari Cadambi, Giuseppe Coviello, Chenghong Li et al. · ACM International Symposium on High-Performance Parallel and Distributed Computing (HPDC) · 2013
It is remarkably easy to offload processing to Intel's newest manycore coprocessor, the Xeon-Phi: it supports a popular ISA (x86-based), a popular OS (Linux) and a popular programming model (OpenMP). Unfortunately, easy portability does not automatically ensure high performance. Additional programmer effort is necessary to leverage the new performance-oriented hardware features. But programmer optimizations alone are insufficient. Multiprocessing is also necessary to improve hardware utilization, and Linux makes it easy for processes to share the manycore coprocessor. However multiprocessing inefficiencies can easily offset gains made by the programmer. Our experiments on a production, high-performance Xeon server with multiple Xeon Phi coprocessors show that multiprocessing on coprocessors not only slows down the processes but also introduces unreliability (some processes crash unexpectedly). We propose a new, user-level middleware called COSMIC that improves performance and reliability of multiprocessing on coprocessors like the Xeon Phi. COSMIC seamlessly fits in the existing Xeon Phi software stack and is transparent to programmers. It manages Xeon Phi processes that execute parallel regions offloaded to the coprocessors. Offloads typically have programmer-driven performance directives like thread and affinity requirements. Unlike the existing Xeon Phi software stack, COSMIC does fair scheduling of both processes and offloads, and takes into account conflicting requirements of offloads belonging to different processes. By doing so, COSMIC has two clear benefits. First, it improves multiprocessing performance by preventing thread and memory oversubscription, by avoiding inter-offload interference and by reducing load imbalance on coprocessors and cores. Second, it increases multiprocessing reliability by exploiting programmer-specified per-process coprocessor memory requirements to completely avoid memory oversubscription and crashes. Our experiments on several representative Xeon Phi workloads show that, in a multiprocessing environment, COSMIC improves average core utilization by up to 3 times, reduces make-span by up to 52%, reduces average process latency (turn-around-time) by 70%, and completely eliminates process crashes.
Cited by 26 works. doi:10.1145/2493123.2462921
Authors
- Srihari Cadambi
- Giuseppe Coviello
- Chenghong Li
- Rajat Phull
- Kunal Rao
- Murugan Sankaradass
- Srimat Chakradhar
References
- Optimization and Approximation in Deterministic Sequencing and Scheduling: a Survey
- Resource containers: a new facility for resource management in server systems
- NVIDIA Tesla: A Unified Graphics and Computing Architecture
- Container-based operating system virtualization
- Cache performance of operating system and multiprogramming workloads
- The OpenMP Implementation of NAS Parallel Benchmarks and its Performance
- TILE64 - Processor: A 64-Core SoC with Mesh Interconnect
- Bubble-Up
- Container-based operating system virtualization
- Addressing shared resource contention in multicore processors via scheduling