Fast and Scalable In-network Lock Management Using Lock Fission

被引:0
|
作者
Zhang, Hanze [1 ,2 ,4 ]
Cheng, Ke [1 ,3 ]
Chen, Rong [1 ,2 ,3 ]
Chen, Haibo [1 ,3 ,5 ]
机构
[1] Shanghai Jiao Tong Univ, Inst Parallel & Distributed Syst, SEIEE, Shanghai, Peoples R China
[2] Shanghai AI Lab, Shanghai, Peoples R China
[3] Minist Educ, Engn Res Ctr Domain Specif Operating Syst, Beijing, Peoples R China
[4] Shanghai Jiao Tong Univ, AI Inst, MoE Key Lab Artificial Intelligence, Shanghai, Peoples R China
[5] Chinese Acad Sci, Key Lab Syst Software, Beijing, Peoples R China
基金
中国国家自然科学基金;
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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 manageable lock scale, thereby limiting their effect in large-scale workloads. This paper presents FISSLOCK, a fast and scalable distributed lock service that exploits the programmable switch to improve (tail) latency and peak throughput for millions of locks. The key idea behind FISSLOCK is the concept of lock fission, which decouples lock management into grant decision and participant maintenance. FISSLOCK leverages the programmable switch to decide lock grants synchronously and relies on servers to maintain participants (i.e., holders and waiters) asynchronously. By using the programmable switch for routing, FISSLOCK enables on-demand fine-grained lock migration, thereby reducing the lock grant and release delays. FISSLOCK carefully designs and implements grant decision procedure on the programmable switch, supporting over one million locks. Evaluation using various benchmarks and a real-world application shows the efficiency of FISSLOCK. Compared to the state-of-the-art switch-based approach (NetLock), FISSLOCK cuts up to 79.1% (from 43.0%) of median lock grant time in the microbenchmark and improves transaction throughput for TATP and TPC-C by 1.76x and 2.28x, respectively.
引用
收藏
页码:251 / 268
页数:18
相关论文
共 50 条
  • [1] NetLock: Fast, Centralized Lock Management Using Programmable Switches
    Yu, Zhuolong
    Zhang, Yiwen
    Braverman, Vladimir
    Chowdhury, Mosharaf
    Jin, Xin
    [J]. SIGCOMM '20: PROCEEDINGS OF THE 2020 ANNUAL CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION ON THE APPLICATIONS, TECHNOLOGIES, ARCHITECTURES, AND PROTOCOLS FOR COMPUTER COMMUNICATION, 2020, : 126 - 138
  • [2] A scalable lock on NUMA multicore
    Yi, ZhengMing
    Yao, YiPing
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2020, 32 (24):
  • [3] A Scalable Lock Manager for Multicores
    Jung, Hyungsoo
    Han, Hyuck
    Fekete, Alan
    Heiser, Gernot
    Yeom, Heon Y.
    [J]. ACM TRANSACTIONS ON DATABASE SYSTEMS, 2014, 39 (04):
  • [4] Unique Lock Identification Using Scalable Pointer Analysis
    Zhang, Di
    [J]. 2012 INTERNATIONAL CONFERENCE ON APPLIED INFORMATICS AND COMMUNICATION (ICAIC 2012), 2013, : 64 - 68
  • [5] Fast and Scalable, Lock-Free k-FIFO Queues
    Kirsch, Christoph M.
    Lippautz, Michael
    Payer, Hannes
    [J]. PARALLEL COMPUTING TECHNOLOGIES (PACT 2013), 2013, 7979 : 208 - 223
  • [6] IMap: Fast and Scalable In-Network Scanning with Programmable Switches
    Li, Guanyu
    Zhang, Menghao
    Guo, Cheng
    Bao, Han
    Xu, Mingwei
    Hu, Hongxin
    Li, Fenghua
    [J]. PROCEEDINGS OF THE 19TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION (NSDI '22), 2022, : 667 - 681
  • [7] A Flexible and Scalable Affinity Lock for the Kernel
    Zhang, Benlong
    Kang, Junbin
    Wo, Tianyu
    Wang, Yuda
    Yang, Renyu
    [J]. 2014 IEEE INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS, 2014 IEEE 6TH INTL SYMP ON CYBERSPACE SAFETY AND SECURITY, 2014 IEEE 11TH INTL CONF ON EMBEDDED SOFTWARE AND SYST (HPCC,CSS,ICESS), 2014, : 34 - 37
  • [8] Fast and scalable lock methods for video coding on many-core architecture
    Xu, Weizhi
    Yu, Hui
    Lu, Dianjie
    Song, Fenglong
    Wang, Da
    Ye, Xiaochun
    Pei, Songwei
    Fan, Dongrui
    Xie, Hongtao
    [J]. JOURNAL OF VISUAL COMMUNICATION AND IMAGE REPRESENTATION, 2014, 25 (07) : 1758 - 1762
  • [9] Scalable Multicore Motion Planning Using Lock-Free Concurrency
    Ichnowski, Jeffrey
    Alterovitz, Ron
    [J]. IEEE TRANSACTIONS ON ROBOTICS, 2014, 30 (05) : 1123 - 1136
  • [10] Brief Announcement: A Fast Scalable Detectable Unrolled Lock-Based Linked List
    Fahmy, Ahmed
    Golab, Wojciech
    [J]. PROCEEDINGS OF THE 36TH ACM SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, SPAA 2024, 2024, : 73 - 75