【24h】

Analysis of False Cache Line Sharing Effects on Multicore CPUs

机译:错误缓存行共享对多核CPU的影响分析

获取原文

摘要

False Sharing (FS) is a notorious problem occurring in multiprocessor systems. It results in a performance degradation for multi-threaded programs. Since the architecture of a multicore processor is very similar to that of a multiprocessor system, the presence of the false sharing problem is speculated. Its effects should be measurable in terms of efficiency degradation in a concurrent environment on multicore systems. This article discusses the causes of the false cache line sharing problem in dual-core CPUs, and demonstrates how it lessens the system performance by measuring speed-ups and efficiency of the experiments in sequential compared to parallel executions. Thus, demonstration programs are developed to collect the execution results of the test program with and without false sharing on the specific system hardware. Certain techniques are implemented to eliminate false sharing. These techniques are described, and their effectiveness in mitigating the speed-up and efficiency lost from false sharing is analyzed.
机译:错误共享(FS)是在多处理器系统中发生的一个臭名昭著的问题。这会导致多线程程序的性能下降。由于多核处理器的体系结构与多处理器系统的体系结构非常相似,因此可以推测是否存在错误共享问题。就多核系统上并发环境中的效率下降而言,其影响应该是可衡量的。本文讨论了双核CPU中错误的缓存行共享问题的原因,并演示了它如何通过测量顺序执行与并行执行相比的加速和实验效率来降低系统性能。因此,开发了演示程序来收集测试程序的执行结果,并在特定系统硬件上进行错误共享,而不会进行错误共享。实现某些技术以消除错误共享。描述了这些技术,并分析了它们在缓解因虚假共享而导致的速度提高和效率降低方面的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号