首页> 外文期刊>Knowledge and Data Engineering, IEEE Transactions on >Scaling HTM-Supported Database Transactions to Many Cores
【24h】

Scaling HTM-Supported Database Transactions to Many Cores

机译:将HTM支持的数据库事务扩展到多个内核

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

摘要

So far, transactional memory—although a promising technique—suffered from the absence of an efficient hardware implementation. Intel’s Haswell microarchitecture introduced hardware transactional memory (HTM) in mainstream CPUs. HTM allows for efficient concurrent, atomic operations, which is also highly desirable in the context of databases. On the other hand, HTM has several limitations that, in general, prevent a one-to-one mapping of database transactions to HTM transactions. In this work, we devise several building blocks that can be used to exploit HTM in main-memory databases. We show that HTM allows for achieving nearly lock-free processing of database transactions by carefully controlling the data layout and the access patterns. The HTM component is used for detecting the (infrequent) conflicts, which allows for an optimistic, and thus very low-overhead execution of concurrent transactions. We evaluate our approach on a four-core desktop and a 28-core server system and find that HTM indeed provides a scalable, powerful, and easy to use synchronization primitive.
机译:到目前为止,事务存储虽然是一项有前途的技术,但由于缺乏有效的硬件实现而遭受了损失。英特尔的Haswell微体系结构在主流CPU中引入了硬件事务存储(HTM)。 HTM允许高效的并行原子操作,这在数据库环境中也是非常需要的。另一方面,HTM具有几个局限性,这些限制通常会阻止数据库事务到HTM事务的一对一映射。在这项工作中,我们设计了几个可用于在主内存数据库中利用HTM的构建块。我们展示了HTM通过仔细控制数据布局和访问模式可以实现几乎无锁的数据库事务处理。 HTM组件用于检测(不频繁的)冲突,从而可以乐观地执行并发事务,因此开销非常低。我们在四核台式机和28核服务器系统上评估了我们的方法,发现HTM确实提供了可伸缩,强大且易于使用的同步原语。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号