A significant impediment to high performance in key-value stores is the high cost of thread switching or stalls. While there are many sources for this, a major one is the contention for resources. And this cost increases with load as conflicting operations more frequently try to access data concurrently. Traditional latch-based approaches usually handle these situations by blocking one or more contending threads. Latch-free techniques can avoid this behavior. But the payoff may be limited if latch-free techniques require executing wasted work. In this paper, we show how latch-free techniques exploit delta record updating and can significantly reduce wasted work by using notices, a new latch-free approach. This paper explains how notices work and can solve B-tree index maintenance problems, while avoiding thread switches or stalls. Other opportunities for avoiding thread switches or stalls are also discussed.


翻译:键值存储实现高性能的一个主要障碍在于线程切换或停滞的高昂开销。尽管存在多种原因,资源争用是其中关键因素之一。随着负载增加,冲突操作更频繁地尝试并发访问数据,这种开销会进一步加剧。传统的基于锁存器的方法通常通过阻塞一个或多个竞争线程来处理这些情况。无锁技术可以避免这种行为。但如果无锁技术需要执行无效工作,其收益可能有限。本文展示了无锁技术如何利用增量记录更新,并通过采用"通知"这一新型无锁方法显著减少无效工作。本文阐释了通知机制的工作原理及其在避免线程切换或停滞的同时解决B树索引维护问题的能力。文中还探讨了避免线程切换或停滞的其他潜在途径。

0
下载
关闭预览

相关内容

区块链扩展技术现状与展望
专知会员服务
29+阅读 · 2024年1月2日
专知会员服务
29+阅读 · 2021年2月26日
专知会员服务
18+阅读 · 2020年11月8日
【数字孪生】使用数字孪生体进行预测性维护
产业智能官
28+阅读 · 2019年7月22日
【边缘智能】边缘计算驱动的深度学习加速技术
产业智能官
20+阅读 · 2019年2月8日
一种关键字提取新方法
1号机器人网
21+阅读 · 2018年11月15日
推荐|机器学习中的模型评价、模型选择和算法选择!
全球人工智能
10+阅读 · 2018年2月5日
新型阻变存储器的物理研究与产业化前景
中国物理学会期刊网
13+阅读 · 2017年11月1日
国家自然科学基金
1+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Arxiv
0+阅读 · 1月6日
VIP会员
相关基金
国家自然科学基金
1+阅读 · 2017年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
0+阅读 · 2015年12月31日
国家自然科学基金
2+阅读 · 2015年12月31日
国家自然科学基金
1+阅读 · 2014年12月31日
Top
微信扫码咨询专知VIP会员