首页> 外文会议>IEEE/ACM International Conference on Computer-Aided Design >Improving shared cache behavior of multithreaded object-oriented applications in multicores
【24h】

Improving shared cache behavior of multithreaded object-oriented applications in multicores

机译:在多线程中提高多线程面向对象应用程序的共享缓存行为

获取原文

摘要

Understanding shared cache performance when executing multithreaded object-oriented applications and optimizing these applications for multicores have not received much attention. In this paper, we first quantify the intra-thread and inter-thread cache line (block) reuse characteristics of a set of multithreaded C++ programs when executed in shared cache based multicores. Our results show that, as far as shared on-chip caches are concerned, inter-thread cache line (block) reuse distances are much higher than intra-thread cache line reuse distances. We study the impact of these characteristics on the hit/miss behavior of the shared last-level cache on a commercial multicore machine. We then show that, by rearranging accesses to the objects shared across different threads and to the objects stored in nearby memory locations, inter-thread (temporal and spatial) object reuse distances can be reduced, which in turn helps to reduce inter-thread cache line reuse distances. The results we collected using eight multithreaded applications show that our proposed shared cache-aware code restructuring strategy can reduce misses in the last-level on-chip cache of a commercial multicore machine by 25.4%, on average. These savings in cache misses translate in turn to average execution time improvement of 11.9%.
机译:在执行多线程面向对象的应用程序时,了解共享缓存性能,并优化这些应用程序的多电视台尚未接受大量关注。在本文中,我们首先在基于共享高速缓存的多设备上执行时量化线程内部和线程间缓存行(块)重用一组多线程C ++程序的特性。我们的结果表明,就共享的片上高速缓存而言,线程间高速缓存行(块)重用距离远高于内部内部高速缓存线重用距离。我们研究了这些特征对商业多核机器上共享最后一级缓存的命中/错过行为的影响。然后,我们显示,通过重新排列对不同线程共享的对象的对象以及存储在附近存储器位置的对象,可以减少线程间(时间和空间)对象重用距离,这反过来有助于减少线程间缓存线重用距离。我们使用八个多线程应用程序收集的结果表明,我们提出的共享缓存感知代码重组策略可以平均减少商业多核机器的最后级芯片缓存中的未命中25.4%。这些缓存未命中的节省转向平均执行时间提高11.9%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号