Fosstodon
NETDEV VIDEOS
Session
Mitigating the Double-Reallocation Issue for IPv6 Lightweight Tunnel Encapsulations
Speakers
Emilien Wansart
Justin Iurman
Maxime Goffart
Benoit Donnet
Label
Nuts and Bolts
Session Type
Talk
Description
Lightweight Tunnels (LWTs) in the Linux kernel enable efficient per-route tunneling and are widely used by protocols such as In Situ Operations, Administration, and Maintenance (IOAM), Segment Routing over IPv6 (SRv6), and Routing Protocol for Low-Power and Lossy Networks (RPL). However, a performance issue was detected in their implementations, where a double-reallocation of socket buffers occurs under specific conditions, leading to significant throughput degradation. This paper investigates the root cause of the issue, which depends on the architecture of the Central Processing Unit (CPU) and the Network Interface Card (NIC). We propose a patch for the Linux kernel to fix this problem, replacing the double-reallocation with a single, efficient one. Performance evaluation demonstrates that the patch eliminates the inefficiency, improving forwarding rates by up to 28.8% for affected protocols.
Merged into SRV6 workshop: https://netdevconf.info/0x19/29
Recent News
Bronze Sponsor, NVIDIA
[Sun, 09, Mar. 2025]
Bronze Sponsor, ByteDance
[Fri, 21, Feb. 2025]
Bronze Sponsor, Fastly
[Wed, 19, Feb. 2025]
Bronze Sponsor, secunet
[Mon, 17, Feb. 2025]
Bronze Sponsor, Relianoid
[Thu, 13, Feb. 2025]
Important Dates
Closing of CFS | Jan 17th, 2025 |
Notification by | Jan 26th, 2025 |
Conference dates | March 10th-13th |