首页> 外文会议>IEEE International Symposium on Parallel and Distributed Processing with Applications >Hardware Transactional Memory Optimization Guidelines, Applied to Ordered Maps
【24h】

Hardware Transactional Memory Optimization Guidelines, Applied to Ordered Maps

机译:硬件事务内存优化指南,应用于有序地图

获取原文

摘要

Synchronization of concurrent data structures is difficult to get right. Fine-grained synchronization locks small data chunks, but requires too high an overhead per chunk; traditional coarse-grained synchronization locks big data chunks, and thereby makes them unavailable to other threads. Neither synchronization method scales well. Recently, hardware transactional memory was introduced, which allows threads to use transactions instead of locks. So far, applying hardware transactional memory has shown mixed results. We believe this is because transactions are different from locks, and using them efficiently requires reasoning about those differences. In this paper we present 5 guidelines for applying hardware transactional memory efficiently, and apply the guidelines to BT-trees, a concurrent ordered map. Evaluating BT-trees on standard benchmarks shows that they are up to 5.3 times faster than traditional maps using hardware transactional memory, and up to 3.9 times faster than state of the art concurrent ordered maps.
机译:并发数据结构的同步难以实现。细粒度同步锁定小数据块,但需要过高的每块开销;传统的粗粒度同步锁定大数据块,从而使它们不可用其他线程。两者都不是衡量的同步方法。最近,介绍了硬件事务内存,允许线程使用事务而不是锁。到目前为止,应用硬件事务内存显示了混合结果。我们相信这是因为事务与锁不同,并且有效地使用它们需要推理这些差异。在本文中,我们提供了5项指南,用于有效地应用硬件事务记忆,并将指南应用于BT-Trees,并发订购的地图。评估标准基准上的BT树显示,它们使用硬件事务存储器的传统地图速度快5.3倍,并且比艺术并发有序地图的状态快3.9倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号