首页> 外文期刊>Concurrency and Computation >Efficient support for in-place metadata in Java software transactional memory
【24h】

Efficient support for in-place metadata in Java software transactional memory

机译:对Java软件事务存储中的原位元数据的有效支持

获取原文
获取原文并翻译 | 示例

摘要

Software transactional memory (STM) algorithms associate metadata with the memory locations accessed during a transaction's lifetime. This metadata may be stored in an external table by resorting to a mapping function that associates the address of a memory cell with the table entry containing the corresponding metadata (out-place or external strategy). Alternatively, the metadata may be stored adjacent to the associated memory cell by wrapping the cell and metadata together (in-place strategy). The implementation techniques to support these two approaches are very different and each STM framework is usually biased towards one of them, only allowing the efficient implementation of STM algorithms which suit one of the approaches and inhibiting a fair comparison with STM algorithms suiting the other. In this paper, we introduce a technique to implement in-place metadata that does not wrap memory cells, thus overcoming the bias and allowing STM algorithms to directly access the transactional metadata. The proposed technique is available as an extension to Deuce and enables the efficient implementation of a wide range of STM algorithms and their fair (unbiased) comparison in a common STM framework. We illustrate the benefits of our approach by analyzing its impact in two popular transactional memory algorithms with several transactional workloads, TL2 and multiversioning, each befitting out-place and in-place, respectively.
机译:软件事务存储(STM)算法将元数据与在事务生命周期中访问的存储器位置相关联。可以通过借助将存储单元的地址与包含相应元数据的表条目相关联的映射功能(外部或外部策略)将该元数据存储在外部表中。可替代地,可以通过将单元和元数据包装在一起而将元数据存储在相关联的存储单元附近(就地策略)。支持这两种方法的实现技术非常不同,每个STM框架通常偏向其中一种,仅允许高效地实现适合其中一种方法的STM算法,并阻止与适合另一种方法的STM算法的公平比较。在本文中,我们介绍了一种实现不包装内存单元的就地元数据的技术,从而克服了这种偏差,并允许STM算法直接访问事务性元数据。所提出的技术可作为Deuce的扩展使用,并能够有效地实现各种STM算法,并在通用STM框架中进行公平(无偏)的比较。我们通过分析这种方法在两种流行的事务存储算法中的作用来说明这种方法的好处,该算法具有几种事务性工作负载,TL2和多版本化,分别适合于就地和就地。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号