首页> 外文会议>ACM EuroSys conference on computer systems >STM in the Small: Trading Generality for Performance in Software Transactional Memory
【24h】

STM in the Small: Trading Generality for Performance in Software Transactional Memory

机译:STM中的小:在软件交易记忆中的性能交易一般性

获取原文

摘要

Data structures implemented using software transactional memory (STM) have a reputation for being much slower than data structures implemented directly from low-level primitives such as atomic compare-and-swap (CAS). In this paper we present a specialized STM system (SpecTM) that allows the program to express additional knowledge about the particular operations being performed by transactions-e.g., using a separate API to write transactions that access small, fixed, numbers of memory locations. We show that data structures implemented using SpecTM offer essentially the same performance and scalability as implementations built directly from CAS. We present results using hash tables and skip lists on machines with up to 8 sockets and up to 128 hardware threads. Specialized transactions can be mixed with normal transactions, allowing fast-path operations to be specialized for greater performance, while allowing less common cases to be expressed using normal transactions for simplicity. We believe that SpecTM provides a "sweet spot" for expert programmers developing scalable data structures.
机译:使用软件事务存储器(STM)实现的数据结构具有比直接从来自原子比较和交换(CAS)等低级基元实现的数据结构慢得多。在本文中,我们介绍了一个专门的STM系统(SPECT),允许程序表达关于由事务-e.g执行的特定操作的额外知识。,使用单独的API来编写访问的事务,用于访问小型,固定的内存位置。我们表明,使用SpectM实现的数据结构与直接从CAS构建的实现具有基本相同的性能和可扩展性。我们使用哈希桌点和跳过最多8个插座的机器上的结果,最多128个硬件线程。专用事务可以与正常交易混合,允许专门用于更高性能的快速路径操作,同时允许使用正常事务表达不太常见的情况,以便简单起见。我们认为Spect为开发可扩展数据结构的专家程序员提供了一个“甜蜜点”。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号