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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
乐乐的应助被XXX采纳,获得10
刚刚
1秒前
陪你闯荡发布了新的文献求助10
1秒前
值班平安完成签到 ,获得积分10
2秒前
平淡远航完成签到,获得积分10
2秒前
变化球发布了新的文献求助10
2秒前
3秒前
好好学习完成签到,获得积分10
4秒前
5秒前
5秒前
5秒前
史迪仔不在完成签到,获得积分10
5秒前
pengpeng发布了新的文献求助10
5秒前
6秒前
FeLaN发布了新的文献求助10
8秒前
Orange的应助被Billy采纳,获得10
8秒前
8秒前
懒羊羊完成签到,获得积分10
9秒前
微笑成风发布了新的文献求助10
11秒前
栗子发布了新的文献求助10
11秒前
Hello的应助被wang采纳,获得10
11秒前
研友_VZG7GZ的应助被Demons采纳,获得10
11秒前
打打的应助被yu采纳,获得10
11秒前
康康发布了新的文献求助10
12秒前
ZZZYJ发布了新的文献求助10
12秒前
haung发布了新的文献求助10
12秒前
15秒前
噜噜噜完成签到 ,获得积分10
15秒前
Juvenilesy的应助被scugy采纳,获得10
15秒前
15秒前
weikang发布了新的文献求助10
17秒前
18秒前
19秒前
Somnolence咩完成签到,获得积分10
19秒前
19秒前
积极的含芙完成签到,获得积分10
19秒前
你香发布了新的文献求助10
20秒前
21秒前
勤恳的南晴完成签到,获得积分10
21秒前
21秒前
高分求助中
(应助此贴封号)通过应助OA文献获取积分 10000
Rosenblum, Global Change Biology 800
Organizational Behavior 510
Management and the Arts 510
Convergent and bidirectional strategies towards the total synthesis of hemibrevetoxin B 300
Geschichtliche Grundbegriffe (GGB), Band 5: Pro–Soz 300
Die Religion in Geschichte und Gegenwart (RGG), 4. Auflage, Band 7: R–S 300
热门求助领域 (近24小时)
化学 材料科学 医学 生物 计算机科学 工程类 纳米技术 内科学 物理 有机化学 化学工程 生物化学 复合材料 光电子学 细胞生物学 心理学 量子力学 催化作用 物理化学 电极
热门帖子
关注 科研通微信公众号,转发送积分 7798848
求助须知:如何正确求助?哪些是违规求助? 9333928
关于积分的说明 20464613
捐赠科研通 7389868
什么是DOI,文献DOI怎么找? 3325856
关于科研通互助平台的介绍 2473039
邀请新用户注册赠送积分活动 2343301