NetLock: Fast, Centralized Lock Management Using Programmable Switches

被引:36
|
作者
Yu, Zhuolong [1 ]
Zhang, Yiwen [2 ]
Braverman, Vladimir [1 ]
Chowdhury, Mosharaf [2 ]
Jin, Xin [1 ]
机构
[1] Johns Hopkins Univ, Baltimore, MD 21218 USA
[2] Univ Michigan, Ann Arbor, MI 48109 USA
关键词
Lock Management; Programmable Switches; Centralized; Data plane;
D O I
10.1145/3387514.3405857
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Lock managers are widely used by distributed systems. Traditional centralized lock managers can easily support policies between multiple users using global knowledge, but they suffer from low performance. In contrast, emerging decentralized approaches are faster but cannot provide flexible policy support. Furthermore, performance in both cases is limited by the server capability. We present NetLock, a new centralized lock manager that co-designs servers and network switches to achieve high performance without sacrificing flexibility in policy support. The key idea of NetLock is to exploit the capability of emerging programmable switches to directly process lock requests in the switch data plane. Due to the limited switch memory, we design a memory management mechanism to seamlessly integrate the switch and server memory. To realize the locking functionality in the switch, we design a custom data plane module that efficiently pools multiple register arrays together to maximize memory utilization We have implemented a NetLock prototype with a Barefoot Tofino switch and a cluster of commodity servers. Evaluation results show that NetLock improves the throughput by 14.0-18.4x, and reduces the average and 99% latency by 4.7-20.3x and 10.4-18.7x over DSLR, a state-of-the-art RDMA-based solution, while providing flexible policy support.
引用
收藏
页码:126 / 138
页数:13
相关论文
共 50 条
  • [31] Ward: Implementing Arbitrary Hierarchical Policies using Packet Resubmit in Programmable Switches
    Malekpourshahraki, Mojtaba
    Stephens, Brent
    Vamanan, Balajee
    [J]. CONEXT'19 COMPANION: PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON EMERGING NETWORKING EXPERIMENTS AND TECHNOLOGIES, 2019, : 34 - 36
  • [32] HorusEye: A Realtime IoT Malicious Traffic Detection Framework using Programmable Switches
    Dong, Yutao
    Li, Qing
    Wu, Kaidong
    Li, Ruoyu
    Zhao, Dan
    Tyson, Gareth
    Peng, Junkun
    Jiang, Yong
    Xia, Shutao
    Xu, Mingwei
    [J]. PROCEEDINGS OF THE 32ND USENIX SECURITY SYMPOSIUM, 2023, : 571 - 588
  • [33] AccuPIPE: Accurate Heavy Flow Detection in the Data Plane Using Programmable Switches
    Guo, Yang
    Liu, Franklin
    Wang, An
    Liu, Hang
    [J]. NOMS 2020 - PROCEEDINGS OF THE 2020 IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM 2020: MANAGEMENT IN THE AGE OF SOFTWARIZATION AND ARTIFICIAL INTELLIGENCE, 2020,
  • [34] An Elephant in the Room: Using Sampling for Detecting Heavy-Hitters in Programmable Switches
    Torres Jr, Pedro Rodrigues
    Garcia-Martinez, Alberto
    Bagnulo, Marcelo
    Ribeiro, Eduardo Parente
    [J]. IEEE ACCESS, 2021, 9 : 94122 - 94131
  • [35] HybridDAD: Detecting DDoS Flooding Attack using Machine Learning with Programmable Switches
    Roshani, Mostafa
    Nobakht, Mehdi
    [J]. PROCEEDINGS OF THE 17TH INTERNATIONAL CONFERENCE ON AVAILABILITY, RELIABILITY AND SECURITY, ARES 2022, 2022,
  • [36] Using P4 on Fixed-Pipeline and Programmable Stratum Switches
    O'Connor, Brian
    Tseng, Yi
    Pudelko, Maximilian
    Cascone, Carmelo
    Endurthi, Abhilash
    Wang, You
    Ghaffarkhah, Alireza
    Gopalpur, Devjit
    Everman, Tom
    Madejski, Tomek
    Wanderer, Jim
    Vahdat, Amin
    [J]. 2019 ACM/IEEE SYMPOSIUM ON ARCHITECTURES FOR NETWORKING AND COMMUNICATIONS SYSTEMS (ANCS), 2019,
  • [37] Optical lock-in detection of FRET using synthetic and genetically encoded optical switches
    Mao, Shu
    Benninger, Richard K. P.
    Yan, Yuling
    Petchprayoon, Chutima
    Jackson, David
    Easley, Christopher J.
    Piston, David W.
    Marriott, Gerard
    [J]. BIOPHYSICAL JOURNAL, 2008, 94 (11) : 4515 - 4524
  • [38] Centralized Fabric Management Using Puppet, Git, and GLPI
    Smith, Jason A.
    De Stefano, John S., Jr.
    Fetzko, John
    Hollowell, Christopher
    Ito, Hironori
    Karasawa, Mizuki
    Pryor, James
    Rao, Tejas
    Strecker-Kellogg, William
    [J]. INTERNATIONAL CONFERENCE ON COMPUTING IN HIGH ENERGY AND NUCLEAR PHYSICS 2012 (CHEP2012), PTS 1-6, 2012, 396
  • [39] CMOS Programmable Full-Wave Rectifier Using Current Conveyor Analogue Switches
    Nonthaputha, Thanat
    Kumngern, Montree
    [J]. 2019 17TH INTERNATIONAL CONFERENCE ON ICT AND KNOWLEDGE ENGINEERING (ICT&KE), 2019, : 66 - 70
  • [40] Antibody-Mediated Small Molecule Detection Using Programmable DNA-Switches
    Rossetti, Marianna
    Ippodrino, Rudy
    Marini, Bruna
    Palleschi, Giuseppe
    Porchetta, Alessandro
    [J]. ANALYTICAL CHEMISTRY, 2018, 90 (13) : 8196 - 8201