Saved in:
Bibliographic Details
Main Authors: Iurman, J., Wansart, E., Goffart, M., Donnet, B.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2503.14959
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915204616421376
author Iurman, J.
Wansart, E.
Goffart, M.
Donnet, B.
author_facet Iurman, J.
Wansart, E.
Goffart, M.
Donnet, B.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2503_14959
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Mitigating the Double-Reallocation Issue for IPv6 Lightweight Tunnel Encapsulations in the Linux Kernel
Iurman, J.
Wansart, E.
Goffart, M.
Donnet, B.
Networking and Internet Architecture
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.
title Mitigating the Double-Reallocation Issue for IPv6 Lightweight Tunnel Encapsulations in the Linux Kernel
topic Networking and Internet Architecture
url https://arxiv.org/abs/2503.14959