【24h】

Proactive transaction scheduling for contention management

机译:主动事务调度以进行竞争管理

获取原文

摘要

Hardware Transactional Memory offers a promising high performance and easier to program alternative to lock-based synchronization for creating parallel programs. This is particularly important as hardware manufacturers continue to put more cores on die. But transactional memory still has one main drawback: contention. Contention is caused by multiple transactions trying to speculatively modify the same memory location concurrently causing one or more transactions to abort and retry its execution. Contention serializes the execution, meaning high contention leads to very poor parallel performance. As more cores are added, contention worsens. To date contention-manager designs have been primarily reactive in nature and limited to various forms of randomized backoff to effectively stall contending transactions when conflicts occur. While backoff-based managers have been popular due to their simplicity, at higher core counts our analysis on the STAMP benchmark suite shows that backoff-based managers perform poorly. In particular, small groups of transactions create hot spots of contention that lead to this poor performance. We show these hot spots commonly consist of small sets of conflicts that occur in a predictable manner. To counter this challenge we introduce a dynamic contention management strategy that minimizes contention by using past history to identify when these hot spots will reoccur in the future and proactively schedule affected transactions around these hot spots. The strategy used predicts future contention and schedules to avoid it at runtime without the need for programmer input. Our experiments show that by using our proactive scheduling technique we outperform a backoff-based policy for a 16 processor system by an average of 85%.
机译:硬件事务性内存提供了有希望的高性能,并且易于编程,可以替代基于锁的同步来创建并行程序。随着硬件制造商继续在芯片上增加内核,这一点尤为重要。但是事务性存储器仍然有一个主要缺点:竞争。争用是由于多个事务试图同时推测性地修改同一内存位置导致一个或多个事务中止并重试其执行而引起的。竞争会序列化执行,这意味着高竞争会导致非常差的并行性能。随着添加更多核心,争夺会加剧。迄今为止,竞争管理器设计本质上主要是反应性的,并且仅限于各种形式的随机退避,以在发生冲突时有效地阻止竞争事务。尽管基于后备管理的管理器因其简单性而广受欢迎,但在核心数量较多的情况下,我们对STAMP基准套件的分析表明,基于后备管理的管理器的性能较差。特别是,少量交易会导致争用热点,从而导致性能下降。我们显示这些热点通常由以可预见的方式发生的少量冲突组成。为了应对这一挑战,我们引入了一种动态竞争管理策略,该策略通过使用过去的历史来确定这些热点将来何时再次发生并主动安排这些热点周围的受影响交易,从而最大程度地减少竞争。所使用的策略可预测将来的争用并制定计划,以在运行时避免争用,而无需程序员输入。我们的实验表明,通过使用我们的主动调度技术,我们对16处理器系统的性能优于基于回退的策略,平均性能提高了85%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号