Title
Socksdirect - datacenter sockets can be fast and compatible.
Abstract
Communication intensive applications in hosts with multi-core CPU and high speed networking hardware often put considerable stress on the native socket system in an OS. Existing socket replacements often leave significant performance on the table, as well have limitations on compatibility and isolation. In this paper, we describe SocksDirect, a user-space high performance socket system. SocksDirect is fully compatible with Linux socket and can be used as a drop-in replacement with no modification to existing applications. To achieve high performance, SocksDirect leverages RDMA and shared memory (SHM) for inter-host and intra-host communication, respectively. To bridge the semantics gap between socket and RDMA / SHM, we optimize for the common cases while maintaining compatibility in general. SocksDirect achieves isolation by employing a trusted monitor daemon to handle control plane operations such as connection establishment and access control. The data plane is peer-to-peer between processes, in which we remove multi-thread synchronization, buffer management, large payload copy and process wakeup overheads in common cases. Experiments show that SocksDirect achieves 7~20x better message throughput and 17~35x better latency than Linux socket, and reduces Nginx HTTP latency to 1/5.5.
Year
DOI
Venue
2019
10.1145/3341302.3342071
SIGCOMM
Keywords
Field
DocType
RDMA, datacenter, socket, user-space
Forwarding plane,Shared memory,Computer science,Latency (engineering),Networking hardware,Computer network,Remote direct memory access,Throughput,User space,Embedded system,Payload
Conference
ISBN
Citations 
PageRank 
978-1-4503-5956-6
0
0.34
References 
Authors
0
5
Name
Order
Citations
PageRank
Bojie Li1635.85
Tianyi Cui2101.20
Zibo Wang300.34
Wei Bai 0001419013.46
Lintao Zhang53512200.80