首页> 外文会议>ACM symposium on principles of distributed computing >Transactional Predication: High-Performance Concurrent Sets and Maps for STM
【24h】

Transactional Predication: High-Performance Concurrent Sets and Maps for STM

机译:事务性预测:STM的高性能并发集和映射

获取原文

摘要

Concurrent collection classes are widely used in multi-threaded programming, but they provide atomicity only for a fixed set of operations. Software transactional memory (STM) provides a convenient and powerful programming model for composing atomic operations, but concurrent collection algorithms that allow their operations to be composed using STM are significantly slower than their non-composable alternatives. We introduce transactional predication, a method for building transactional maps and sets on top of an underlying non-composable concurrent map. We factor the work of most collection operations into two parts: a portion that does not need atomicity or isolation, and a single transactional memory access. The result approximates semantic conflict detection using the STM's structural conflict detection mechanism. The separation also allows extra optimizations when the collection is used outside a transaction. We perform an experimental evaluation that shows that predication has better performance than existing transactional collection algorithms across a range of workloads.
机译:并发集合类广泛用于多线程编程,但它们仅为固定的一组操作提供了原子性。软件事务内存(STM)为构成原子操作方便,功能强大的编程模型,但同时收集算法,使他们的操作使用STM组成是显著比非组合的替代品慢。我们引入事务性预测,一种用于构建事务映射的方法,并在底层不可组合的并发映射上设置。我们将大多数集合操作的工作分为两部分:不需要原子性或隔离的部分和单一事务内存访问。结果使用STM的结构冲突检测机制来近似语义冲突检测。分离还允许在事务外使用集合时额外优化。我们执行实验评估,表明预测比在一系列工作负载上的现有事务收集算法具有更好的性能。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号