首页> 外文期刊>IEEE Transactions on Knowledge and Data Engineering >Exploiting Single-Threaded Model in Multi-Core In-Memory Systems
【24h】

Exploiting Single-Threaded Model in Multi-Core In-Memory Systems

机译:在多核内存系统中开发单线程模型

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

摘要

The widely adopted single-threaded OLTP model assigns a single thread to each static partition of the database for processing transactions in a partition. This simplifies concurrency control while retaining parallelism. However, it suffers performance loss arising from skewed workloads as well as transactions that span multiple partitions. In this paper, we present a dynamic single-threaded in-memory OLTP system, called LADS, that extends the simplicity of the single-threaded model. The key innovation in LADS is the separation of dependency resolution and execution into two non-overlapping phases for batches of transactions. After the first phase of dependency resolution, the record actions of the transactions are partitioned and ordered. Each independent partition is then executed sequentially by a single thread, avoiding the need for locking. By careful mapping of the tasks to be performed to threads, LADS is able to achieve a high degree of balanced parallelism. We evaluate LADS against H-Store, a partition-based database; DORA, a data-oriented transaction processing system; and SILO, a multi-core in-memory OLTP engine. The experimental study shows that LADS achieves up to 20x higher throughput than existing systems and exhibits better robustness with various workloads.
机译:广泛采用的单线程OLTP模型将单个线程分配给数据库的每个静态分区,以处理分区中的事务。这简化了并发控制,同时保留了并行性。但是,它会因工作负载偏斜以及跨多个分区的事务而导致性能损失。在本文中,我们提出了一个动态的单线程内存OLTP系统,称为LADS,它扩展了单线程模型的简单性。 LADS的关键创新是将依赖关系解析和执行分为两个批量处理的不重叠阶段。在依赖关系解析的第一阶段之后,将对事务的记录操作进行分区和排序。然后,每个独立分区由单个线程顺序执行,从而避免了锁定。通过仔细地将要执行的任务映射到线程,LADS能够实现高度的平衡并行性。我们针对基于分区的数据库H-Store评估LADS; DORA,面向数据的交易处理系统; SILO,一个多核内存中OLTP引擎。实验研究表明,LADS的吞吐量是现有系统的20倍,并且在各种工作负载下均显示出更好的鲁棒性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号