eBPF
Verified programs loaded into the kernel for networking, tracing, security and scheduling.
- Kind
- technique
Recent proposals
All 12- In reviewbpf: Don't spin on rhtab bucket locks with IRQs disabled
- RFC
- v2
- Accepted
- In review
- In reviewbpf: Check recursion per task for preemptible programs
- RFC
- v3
- Accepted
- In reviewxdp: fix page_pool leaks
- RFC
- v7
- Accepted
- RFCblk-iocost: BPF struct_ops cost model
- RFC
- v14
- Accepted
- In reviewbpf: Add log support for tracing link_create
- RFC
- v2
- Accepted
Opportunities
Review
All 3- Open RFCIntroduce a classic BPF filter cache for seccomp
RFC v1, 3 patches on io-uring by Xu Kuohai. Design feedback and testing are welcome.
- Open RFCblk-iocost: BPF struct_ops cost model
RFC v14, 4 patches on linux-block by Tao Cui. Design feedback and testing are welcome.
- Open RFCBPF-based per-cgroup NUMA balancing mode selection
RFC v4, 4 patches on linux-mm by Yafang Shao. Design feedback and testing are welcome.
Build
All 3- HypothesisExplain eBPF verifier rejections
Verifier logs are the main obstacle for new eBPF developers; a tool that maps a rejection to the source line, the failing check and the usual fix would shorten the learning curve across libbpf, Aya and cilium/ebpf.
- Evidence of need
- 4/5
- Feasibility
- 4/5
- Accessibility
- 4/5
- Unmet need
- 3/5
- HypothesisProfiler for io_uring-based applications
Engineers adopting io_uring struggle to explain its performance (unexpected CPU use, slow small writes) because profilers show syscalls and stacks, not the flow of submissions and completions.
- Evidence of need
- 4/5
- Feasibility
- 3/5
- Accessibility
- 4/5
- Unmet need
- 4/5
- HypothesisWorkload evaluation harness for sched_ext schedulers
Users choosing between sched_ext schedulers (bpfland, lavd, rusty…) lack comparable results for their workloads; a harness that runs standard workloads and reports latency and throughput per scheduler would help adoption and scheduler development.
- Evidence of need
- 3/5
- Feasibility
- 4/5
- Accessibility
- 4/5
- Unmet need
- 3/5
Implementations
6- AyaProject
eBPF library for Rust, without libbpf.
- bpftoolProject
Inspect and manage eBPF programs and maps.
- cilium/ebpfProject
Pure-Go library for eBPF.
- eBPF for WindowsProject
eBPF implementation for Windows.
- libbpfProject
The canonical eBPF loader library (mirror of the kernel tree).
BPF core, verifier, JITs and maps.
Used by
11BPF Compiler Collection and tracing tools.
High-level tracing language for eBPF.
eBPF-based networking, observability and security for Kubernetes.
eBPF gadgets for inspecting Kubernetes and Linux hosts.
XDP-based layer-4 load balancer.
Whole-system continuous profiler donated by Elastic.
eBPF-based Linux kernel networking debugger.
Tracing packets through the Linux networking stack.
Collection of sched_ext schedulers and tooling (scx_rusty, scx_lavd, scx_bpfland…).
eBPF-based security observability and runtime enforcement.
libxdp and utilities for XDP and AF_XDP.
Related technologies
2Extensible scheduler class that lets eBPF programs implement CPU scheduling policies.
eXpress Data Path: eBPF packet processing at the driver, and AF_XDP sockets for zero-copy delivery to userspace.
Related technologies
5Always-on, fleet-wide sampling profilers, often eBPF based.
The kernel's tracing infrastructure: function tracing, dynamic probes and static tracepoints.
Linux asynchronous I/O interface built on shared submission and completion rings, now covering storage, networking and more.
Extensible scheduler class that lets eBPF programs implement CPU scheduling policies.
eXpress Data Path: eBPF packet processing at the driver, and AF_XDP sockets for zero-copy delivery to userspace.
Papers & events
2Annual conference where kernel and userspace developers work through open problems and proposals in microconferences.
Invitation-only summit of Linux storage, filesystem, memory-management and BPF developers; LWN covers the sessions.