XvSomeIP: A High-Performance In-Vehicle Communication Middleware Based on XDP

Guoqing Yang, Hongming Zhong, Qiang Zhou, Pan Lv, Hong Li, Zhijie Pan · 2024

The SOME/IP (Scalable service-Oriented Middle-ware over IP) is a communication middleware designed to meet the low latency and high bandwidth requirements of in-vehicle networks in smart cars. However, existing implementations of SOME/IP often rely on the kernel networking stack of the operating system, which significantly limits its ability to provide real-time guarantees for in-vehicle networks. To address this issue, this paper introduces XDP (eXpress Data Path) into SOME/IP, utilizing eBPF (extended Berkeley Packet Filter) to efficiently process packets before they reach the kernel networking stack, thus avoiding the hot path in network transmission. We have implemented XDP in the vSomeIP middleware (referred to as X vSomeIP) and conducted a series of experimental evaluations to verify its performance improvement. The experimental results show that XvSomeIP can effectively reduce packet processing latency by up to 30%. Moreover, as the size of network packets increases, the advantages of X vSomeIP in terms of network throughput become more pronounced. When the packet size is 1024 bytes, the throughput and maximum send/receive capabilities are improved by about 4 times.

Read the paper · More papers on PaperTik