Accelerating Million-scale In-network Lock Management using Lock Fission

作者
Hanze Zhang,Rong Chen,Zihan Tang,Ke Cheng,Haibo Chen
出处
期刊:ACM Transactions on Computer Systems [Association for Computing Machinery]
标识
DOI:10.1145/3774945
摘要

Distributed lock services are extensively utilized in distributed systems to serialize concurrent accesses to shared resources. The need for fast and scalable lock services has become more pronounced with decreasing task execution times and expanding dataset scales. However, traditional lock managers, reliant on server CPUs to handle lock requests, experience significant queuing delays in lock grant latency. Advanced network hardware (e.g., programmable switches) presents an avenue to manage locks without queuing delays due to their high packet processing power. Nevertheless, their constrained memory capacity restricts the number of locks they can manage, thereby limiting their efficiency and efficacy in large-scale workloads with millions of locks. This paper introduces the concept of lock fission, which enables efficient management of million-scale locks by exploiting both programmable switches and servers. Lock fission decouples lock management into a memory-efficient grant decision process and a latency-insensitive participant maintenance process. This allows the programmable switch to efficiently make grant decisions for numerous locks, while servers asynchronously maintain participants (i.e., holders and waiters). Furthermore, by using the programmable switch for routing, lock fission supports on-demand, fine-grained lock migration, reducing network traffic and lock release delays. Building on this idea, we present FissLock , a fast and scalable in-network lock service for two representative lock management settings: with lock managers on dedicated servers or colocated with applications. Evaluation using various benchmarks and a real-world application shows FissLock ’s efficiency and efficacy. Compared to the state-of-the-art in-network lock manager, FissLock cuts up to 82.9% (from 44.3%) of median lock grant time in the microbenchmark and improves transaction throughput for TATP and TPC-C by 2.26 × and 2.46 ×.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
锡望如愿完成签到 ,获得积分10
刚刚
丘比特应助SI采纳,获得10
2秒前
熊猫四海完成签到 ,获得积分20
2秒前
万能图书馆应助纯真采纳,获得10
3秒前
wy.he应助科研通管家采纳,获得10
4秒前
4秒前
Friday发布了新的文献求助10
4秒前
酷波er应助科研通管家采纳,获得10
4秒前
情怀应助科研通管家采纳,获得10
4秒前
田様应助科研通管家采纳,获得10
4秒前
stlibhgq应助科研通管家采纳,获得10
4秒前
5秒前
汉堡包应助科研通管家采纳,获得10
5秒前
可爱曼青应助科研通管家采纳,获得10
5秒前
烟花应助科研通管家采纳,获得10
5秒前
酷波er应助科研通管家采纳,获得10
5秒前
田様应助科研通管家采纳,获得10
5秒前
上官若男应助科研通管家采纳,获得10
5秒前
慕青应助大猪采纳,获得10
5秒前
5秒前
stlibhgq应助科研通管家采纳,获得10
6秒前
6秒前
可爱曼青应助科研通管家采纳,获得10
6秒前
change完成签到 ,获得积分10
6秒前
Rec完成签到 ,获得积分10
6秒前
机灵梦菲完成签到,获得积分10
7秒前
酷波er应助风中的丝袜采纳,获得10
9秒前
星辰大海应助风中的丝袜采纳,获得10
9秒前
9秒前
科研通AI2S应助风中的丝袜采纳,获得50
10秒前
10秒前
sen完成签到,获得积分10
10秒前
untilyou发布了新的文献求助30
12秒前
sl完成签到,获得积分10
14秒前
云间完成签到,获得积分10
14秒前
大猪完成签到,获得积分10
16秒前
16秒前
阔达小蜜蜂糊完成签到 ,获得积分10
16秒前
jiahuichen关注了科研通微信公众号
16秒前
纯真发布了新的文献求助10
16秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Cardiovascular Research and Medicine(2e) 820
自動車の空力技術 800
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7779772
求助须知:如何正确求助?哪些是违规求助? 9319987
关于积分的说明 20374622
捐赠科研通 7367341
什么是DOI,文献DOI怎么找? 3319559
关于科研通互助平台的介绍 2467518
邀请新用户注册赠送积分活动 2335294