Applications running in virtual environments often experience high communication latencies that might be problematic if such applications are characterized by strict temporal constraints. In this work, such high latencies are investigated with a focus on Kubernetes containers and on the software mechanisms used by many CNI plugins to interconnect them: network namespaces, virtual ethernet pairs, and software bridges. Our experiments show that virtual ethernet pairs and network namespaces introduce a negligible overhead, while most of the overhead is introduced by Netfilter rules and by traversing the network stack multiple times. Moreover, the worst-case latencies experienced by UDP packets exchanged between different containers are much larger than the average latencies because of the Linux “softirq” mechanism.
An Investigation of the Linux Virtual Networking Latencies
Abeni L.
;Cucinotta T.
2025-01-01
Abstract
Applications running in virtual environments often experience high communication latencies that might be problematic if such applications are characterized by strict temporal constraints. In this work, such high latencies are investigated with a focus on Kubernetes containers and on the software mechanisms used by many CNI plugins to interconnect them: network namespaces, virtual ethernet pairs, and software bridges. Our experiments show that virtual ethernet pairs and network namespaces introduce a negligible overhead, while most of the overhead is introduced by Netfilter rules and by traversing the network stack multiple times. Moreover, the worst-case latencies experienced by UDP packets exchanged between different containers are much larger than the average latencies because of the Linux “softirq” mechanism.| File | Dimensione | Formato | |
|---|---|---|---|
|
VHPC-2024-Net.pdf
accesso aperto
Tipologia:
Documento in Pre-print/Submitted manuscript
Licenza:
Copyright dell'editore
Dimensione
169.18 kB
Formato
Adobe PDF
|
169.18 kB | Adobe PDF | Visualizza/Apri |
I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

