DR-BW: Identifying Bandwidth Contention in NUMA Architectures with Supervised Learning
DR-BW: Identifying Bandwidth Contention in NUMA Architectures with Supervised Learning
复制标题
DR-BW:通过监督学习识别 NUMA 架构中的带宽争用
DOI:
10.1109/ipdps.2017.97
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
Xu Liu
中科院分区:
文献类型:
--
作者:
Hao Xu;Shasha Wen;Alfredo Giménez;T. Gamblin;Xu Liu
Non-Uniform Memory Access (NUMA) architectures are widely used in mainstream multi-socket computer systems to scale memory bandwidth. Without a NUMA-aware design, programs can suffer from significant performance degradation due to inter-socket bandwidth contention. However, identifying bandwidth contention is challenging. Existing methods measure bandwidth consumption. However, consumption alone is insufficient to quantify bandwidth contention. Furthermore, existing methods diagnose bandwidth for the entire program execution, but lack the ability to associate bandwidth performance to the source code and data structures involved. To address these challenges, we propose DR-BW, a new tool based on machine learning to identify bandwidth contention in NUMA architectures and provide optimization guidance. DR-BW first trains a set of micro benchmarks and extracts useful features to identify bandwidth contention via a supervised machine learning model. Our experiments show that DR-BW achieves more than 96% accuracy. Second, DR-BW associates memory accesses that incur bandwidth contention with data objects, which provides intuitive guidance for optimization. Third, we apply DR-BW to a number of real benchmarks. Our optimization based on the insights obtained from DR-BW yields up to a 6.5× speedup in modern NUMA architectures.