NUMA系统中新的线程迁移策略
New Thread Migration Strategies for NUMA Systems
摘要:
多核系统在执行共享存储器并行代码时呈现影响性能的板上存储层次结构和通信网络。描述这种影响是复杂的,理解特定硬件配置对不同代码的影响至关重要。在以前的作品中,在运行时从硬件计数器中提取的监控信息已被用来在并行代码中的每个线程的行为,在每秒的浮点操作的数量,操作强度,和存储器访问的延迟。我们建议使用这些信息来指导线程迁移策略,通过增加本地性和亲和力来提高执行效率。采用不同配置的多核NAS并行OpenMP基准测试来验证所提出的线程迁移策略的优势。我们提出的策略产生高达70%的改善的情况下,本地性和亲和力低,有一个小的性能退化代码具有高的本地性和亲和力。
英文摘要:
Multicore systems present on-board memory hierarchies and communication networks that influence performance when executing shared memory parallel codes. Characterising this influence is complex, and understanding the effect of particular hardware configurations on different codes is of paramount importance. In previous works, monitoring information extracted from hardware counters at runtime has been used to characterise the behaviour of each thread in the parallel code in terms of the number of floating point operations per second, operational intensity, and latency of memory access. We propose to use this information to guide thread migration strategies that improve execution efficiency by increasing locality and affinity. Different configurations of NAS Parallel OpenMP benchmarks on multicores were used to validate the benefits of the proposed thread migration strategies. Our proposed strategies produce up to 70% improvement in scenarios where locality and affinity are low, there being a small degradation in performance for codes with high locality and affinity.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。