首页> 外文会议>IEEE International Symposium on Parallel and Distributed Computing >Cache Affinity Optimization Techniques for Scaling Software Transactional Memory Systems on Multi-CMP Architectures
【24h】

Cache Affinity Optimization Techniques for Scaling Software Transactional Memory Systems on Multi-CMP Architectures

机译:用于在多CMP架构上扩展软件事务存储系统的高速缓存亲和力优化技术

获取原文

摘要

Software transactional memory (STM) enhances both ease-of-use and concurrency, and is considered one of the next-generation paradigms for parallel programming. Application programs may see hotspots where data conflicts are intensive and seriously degrade the performance. So advanced STM systems employ dynamic concurrency control techniques to curb the conflict rate through properly throttling the rate of spawning transactions. High-end computers may have two or more multicore processors so that data sharing among cores goes through a non-uniform cache memory hierarchy. This poses challenges to concurrency control designs as improper metadata placement and sharing will introduce scalability issues to the system. Poor thread-to-core mappings that induce excessive cache invalidation are also detrimental to the overall performance. In this paper, we share our experience in designing and implementing a new dynamic concurrency controller for Tiny STM, which helps keeping the system concurrency at a near-optimal level. By decoupling unfavourable metadata sharing, our controller design avoids costly inter-processor communications. It also features an affinity-aware thread migration technique that fine-tunes thread placements by observing inter-thread transactional conflicts. We evaluate our implementation using the STAMP benchmark suite and show that the controller can bring around 21% average speedup over the baseline execution.
机译:软件事务存储(STM)增强了易用性和并发性,被认为是并行编程的下一代范例之一。应用程序可能会看到热点,那里的数据冲突非常严重,严重地降低了性能。因此,先进的STM系统采用动态并发控制技术来通过适当地限制产生事务的速率来抑制冲突率。高端计算机可能具有两个或多个多核处理器,因此内核之间的数据共享将通过非统一的缓存层次结构进行。这给并发控制设计带来了挑战,因为不正确的元数据放置和共享将给系统带来可伸缩性问题。不良的线程到核心的映射会导致过多的缓存失效,这也不利于整体性能。在本文中,我们分享了我们为Tiny STM设计和实现新的动态并发控制器的经验,这有助于将系统并发保持在最佳水平。通过消除不利的元数据共享,我们的控制器设计避免了昂贵的处理器间通信。它还具有亲和力感知线程迁移技术,该技术可通过观察线程间事务冲突来微调线程位置。我们使用STAMP基准套件评估了我们的实施情况,并表明该控制器可以比基准执行速度提高21%的平均速度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号