English

Lightweight Implementation of Per-packet Service Protection in eBPF/XDP

Networking and Internet Architecture 2023-12-13 v1

Abstract

Deterministic communication means reliable packet forwarding with close to zero packet loss and bounded latency. Packet loss or delay above a threshold caused by, e.g., equipment failure or malfunction could be catastrophic for applications that require deterministic communication. To meet loss related targets, per-packet service protection has been introduced by deterministic communications standards; it is provided by Frame Replication and Elimination for Reliability (FRER) for Layer 2 Ethernet networks and by Packet Replication, Elimination, and Ordering Functions (PREOF) for Layer 3 IP/MPLS networks. We have implemented FRER with two conceptually different methods: (1) in eBPF/XDP as a lightweight software implementation; and (2) in userspace. We evaluate our XDP FRER via an experimental analysis and compare the two FRER implementations.

Keywords

Cite

@article{arxiv.2312.07152,
  title  = {Lightweight Implementation of Per-packet Service Protection in eBPF/XDP},
  author = {Ferenc Fejes and Ferenc Orosi and Balázs Varga and János Farkas},
  journal= {arXiv preprint arXiv:2312.07152},
  year   = {2023}
}

Comments

Paper submission for the talk with same title on netdev 0x17 conference: https://netdevconf.info/0x17/sessions/talk/lightweight-implementation-of-per-packet-service-protection-in-ebpfxdp.html