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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
LLL完成签到,获得积分10
刚刚
刚刚
菜园我最菜完成签到 ,获得积分10
1秒前
1秒前
1秒前
Nathan完成签到,获得积分10
2秒前
Jasper的应助被wd采纳,获得10
2秒前
1111完成签到,获得积分10
3秒前
共享精神的应助被雷家采纳,获得10
3秒前
4秒前
5秒前
li完成签到,获得积分10
6秒前
6秒前
万事顺遂发布了新的文献求助10
7秒前
久处完成签到,获得积分10
8秒前
你好发布了新的文献求助10
9秒前
席江海发布了新的文献求助30
9秒前
雅杰发布了新的文献求助10
11秒前
科研通AI6.2的应助被hj采纳,获得10
11秒前
yuki发布了新的文献求助10
11秒前
小卢同学完成签到 ,获得积分10
12秒前
12秒前
13秒前
14秒前
拂晓发布了新的文献求助10
14秒前
大方的安柏完成签到 ,获得积分10
15秒前
15秒前
蓝翔高材生完成签到 ,获得积分10
16秒前
共享精神的应助被从容的问凝采纳,获得10
16秒前
大力可燕完成签到,获得积分10
17秒前
lance发布了新的文献求助10
17秒前
swslgd发布了新的文献求助30
17秒前
19秒前
ding的应助被欢喜的文轩采纳,获得10
19秒前
19秒前
顾矜的应助被solar采纳,获得10
19秒前
乐怡日尧发布了新的文献求助10
20秒前
现代的岩发布了新的文献求助10
20秒前
21秒前
21秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 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小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 内科学 物理 有机化学 化学工程 生物化学 复合材料 光电子学 细胞生物学 心理学 量子力学 催化作用 物理化学 电极
热门帖子
关注 科研通微信公众号,转发送积分 7793644
求助须知:如何正确求助?哪些是违规求助? 9330135
关于积分的说明 20435769
捐赠科研通 7383483
什么是DOI,文献DOI怎么找? 3324025
关于科研通互助平台的介绍 2471875
邀请新用户注册赠送积分活动 2341187