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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
怡然雁凡发布了新的文献求助10
1秒前
心灵美慕蕊完成签到,获得积分10
1秒前
chengguang完成签到,获得积分10
1秒前
wsq完成签到,获得积分10
1秒前
山有扶苏完成签到,获得积分10
2秒前
华仔的应助被刻苦的媚颜采纳,获得10
2秒前
zy发布了新的文献求助10
2秒前
3秒前
懵懂的碧彤完成签到,获得积分10
3秒前
3秒前
101发布了新的文献求助10
4秒前
2251877528发布了新的文献求助10
4秒前
黄药师完成签到,获得积分10
5秒前
汉堡包的应助被pei009采纳,获得10
5秒前
星辰坠于海的应助被金金肖采纳,获得10
5秒前
传奇3的应助被Cpigpig采纳,获得10
6秒前
Owen_Hu_11发布了新的文献求助10
6秒前
852的应助被痴情的秋尽采纳,获得10
7秒前
无情百褶裙完成签到,获得积分10
7秒前
淡定的惜海完成签到,获得积分10
8秒前
帝是天发布了新的文献求助10
8秒前
大模型的应助被oneway采纳,获得10
8秒前
9秒前
孤独的香菇完成签到,获得积分10
9秒前
沉默小玉完成签到,获得积分10
10秒前
didihe发布了新的文献求助10
10秒前
12秒前
yeung完成签到,获得积分20
12秒前
Liang完成签到,获得积分10
12秒前
13秒前
xwt3628发布了新的文献求助10
13秒前
15秒前
yang完成签到,获得积分20
15秒前
15秒前
今后的应助被ddingk采纳,获得30
16秒前
赘婿的应助被自觉的裘采纳,获得10
16秒前
17秒前
17秒前
Celeste完成签到,获得积分10
18秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Rosenblum, Global Change Biology 800
Organizational Behavior 510
Management and the Arts 510
Geschichtliche Grundbegriffe (GGB), Band 5: Pro–Soz 300
Die Religion in Geschichte und Gegenwart (RGG), 4. Auflage, Band 7: R–S 300
Die Religion in Geschichte und Gegenwart (RGG), 4. Auflage, Band 1: A–B 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 内科学 物理 有机化学 化学工程 生物化学 复合材料 光电子学 细胞生物学 心理学 量子力学 催化作用 物理化学 电极
热门帖子
关注 科研通微信公众号,转发送积分 7794014
求助须知:如何正确求助?哪些是违规求助? 9330419
关于积分的说明 20437330
捐赠科研通 7383991
什么是DOI,文献DOI怎么找? 3324250
关于科研通互助平台的介绍 2471946
邀请新用户注册赠送积分活动 2341371