Computer Science ›› 2023, Vol. 50 ›› Issue (10): 239-247.doi: 10.11896/jsjkx.220800048

• Computer Network • Previous Articles     Next Articles

vsocket:an RDMA-based Acceleration Method Compatible with Standard Socket

CHEN Yunfang, MAO Haotian, ZHANG Wei   

  1. School of Computer Science,Nanjing University of Posts and Telecommunications,Nanjing 210000,China
  • Received:2022-08-05 Revised:2022-12-09 Online:2023-10-10 Published:2023-10-10
  • About author:CHEN Yunfang,born in 1976,Ph.D,master supervisor.His main research interests include artificial intelligence algorithms,functional analysis of specific application areas,and application development using intelligent systems.ZHANG Wei,born in 1973,Ph.D,Ph.D supervisor.His main research interests include intelligent perception and cognition under UAV platform,privacy protection and artificial intelligence security.

Abstract: In order to be compatible with Linux standard sockets and utilize RDMA to improve the performance of programs using sockets,this paper proposes to construct a middleware Viscore Socket adaptor,referred to as vsocket between the upper-la-yer application and the underlying RDMA.By intercepting the socket API,we seamlessly transfer the data stream sent and received by the upper-layer application through the Linux socket to the RDMA bearer.The vsocket bypasses kernel and implements memory management mechanism in user space for TCP and UDP.It utilizes RC type RDMA network to support TCP acceleration,uses UD type RDMA network to support UDP acceleration,and reuses Linux UDP to assist routing.Experimental results show that vsocket can ensure the compatibility of the Linux standard socket interface,get rid of the limitation of the Linux kernel network protocol stack,and improve the network performance.

Key words: Socket, Remote-direct memory access, Protocol acceleration

CLC Number: 

  • TP393
[1]2020 Ethernet Alliance Roadmap [EB/OL].https://ethernetalliance.org/blog/2020/05/06/2020-ethernet-alliance-roadmap.
[2]HOEFLER T,GIROLAMO S D,TARANOV K,et al.sPIN:High-performance streaming Processing in the Network[C]//Proceedings of the International Conference for High Perfor-mance Computing,Networking,Storage and Analysis.2017:1-16.
[3]MA X X,LU G,FU B Z,et al.Implementation method and performance analysis of non-contiguous data communication in network[J].Chinese Journal of Computers,2020,43(6):1123-1138.
[4]LIN X,YU C,LI X,et al.Scalable Kernel TCP Design and Implementation for Short-Lived Connections[J].ACM SIGARCH Computer Architecture News,2016,44(2):339-352.
[5]HAN S,MARSHALL S,CHUN B G,et al.MegaPipe:a newprogramming interface for scalable network I/O[C]//Procee-dings of the 10th USENIX Conference on Operating Systems Design and Implementation.USENIX Association,2012:135-148.
[6]YASUKATA K,HONDA M,SANTRY D,et al.StackMap:Low-Latency Networking with the OS Stack and Dedicated NICs[C]//Usenix Technical Conference.2016:43-56.
[7]Seastar:High-performance server-side application framework[EB/OL].http://seastar.io/.
[8]High-performance network framework based on dpdk[EB/OL].http://f-stack.org/.
[9]MELLANOX.Messaging accelerator(vma)[EB/OL].https://github.com/mellanox/libvma.
[10]CORPORATION M.Information about the tcp chimney offload[EB/OL].https://support.microsoft.com/en-us/help/951037/information-about-the-tcp-chimney-offload-receive-side-sca-ling-and-net.
[11]InfiniBand Trade Association.InfiniBand Architecture specification,volume 1,release 1.0[EB/OL].http://www.infinibandta.org
[12]Rsocket[EB/OL].https://linux.die.net/man/7/.
[13]LI B,CUI T,WANG Z,et al.Socksdirect:datacenter sockets can be fast and compatible[C]//Proceedings of the ACM Special Interest Group on Data Communication.2019.
[14]JOSE J,LI M,LU X,et al.SR-IOV Support for Virtualization on InfiniBand Clusters:Early Experience[C]//IEEE/ACM International Symposium on Cluster.ACM,2013.
[15]MUSLEH M.Bridging the Virtualization Performance Gap for HPC Using SR-IOV for InfiniBand[C]//IEEE International Conference on Cloud Computing.IEEE,2014.
[16]RANADIVE A,DAVDA B.Toward a Paravirtual vRDMA Device for VMware ESXi Guests[J].VMware Technical Journal,Winter,2012,1(2):2012.
[17]WANG D,FU B,LU G,et al.vSocket:virtual socket interface for RDMA in public clouds[C]//the 15th ACM SIGPLAN/SIGOPS International Conference.ACM,2019.
[18]PFEFFERLE J,STUEDI P,TRIVEDI A,et al.A Hybrid I/O Virtualization Framework for RDMA-capable Network Interfaces[J].ACM Sigplan Notices,2015:17-30.
[19]PFEFFERLE J.vVerbs,a paravirtual subsystem for RDMA-capable network interfaces[J/OL].https://www.research-collection.ethz.ch/handle/20.500.11850/154568.
[20]FAN S,CHEN F,RAUCHFUSS H,et al.Towardsa Light-weight RDMAPara-Virtualization for HPC[C]//COSH/VisorHPC@ HiPEAC.2017.
[21]MOUZAKITIS A,PINTO C,NIKOLAEV N,et al.Lightweight and Generic RDMA Engine Para-Virtualization for the KVM Hypervisor[C]//International Conference on High Performance Computing & Simulation.IEEE,2017.
[22]KIM D,YU T,LIU H H,et al.Freeflow:software-based virtual RDMA networking for containerized clouds[C]//Networked Systems Design and Implementation.2019.
[23]SoftRoCE:Software RDMA over Converged Ethernet[EB/OL].https://github.com/SoftRoCE.
[24]MA T,MA T,SONG Z,et al.X-RDMA:Effective RDMA Middleware in Large-scale Production Environments[C]//IEEE International Conference on Cluster Computing(CLUSTER),2019.
[25]REESE W.Nginx:The high-performance webserver and reverse proxy[J].Linux Journal,2008,2008(173):2.
[26]NGINX Plus Sizing Guide:How We Tested.[EB/OL].https://www.nginx.com/blog/nginx-plus-sizing-guide-how-we-tested/#tests.
[1] WANG Wen-jie, JIA Wen-hua, FEN Hao, YIN Chen-bo. Research and Implementation of Remote Monitoring System for Mast-climbing Working Platform [J]. Computer Science, 2018, 45(11A): 553-557.
[2] ZHANG Xiang-hui, HUANG Jia-qing, WU Kang-heng and LEI Zhi-bin. Survey on Real-time Video and Audio Communication Based on WebRTC [J]. Computer Science, 2015, 42(2): 1-6.
[3] . Model Extraction and Reliability Verification on SOCKET Communication Program [J]. Computer Science, 2012, 39(11): 102-105.
[4] . [J]. Computer Science, 2007, 34(9): 262-264.
[5] LIU Yong-Ping , WANG Lin-Lin (College of Software,Chongqing University of Post and Teleeom,Chongqing 400065). [J]. Computer Science, 2006, 33(3): 65-67.
[6] YI Fa-Sheng,  XIA Meng-Qin , YE Ya-Lan , ZENG Jia-Zhi (Department of Computer Science, UEST of China, Chengdu 610054). [J]. Computer Science, 2006, 33(3): 58-61.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!