THE FUTURE IS HERE

bpftune: auto-tuning Linux with eBPF – Alan Maguire

bpftune is an open-source eBPF-based service/program that auto-tunes Linux (https://github.com/oracle-samples/bpftune). Because eBPF provides low-overhead observability and the means to modify system state at a fine grain (per socket policies etc), it is a great fit for this problem space. Currently, bpftune focuses on networking-related tunables as a starting point but it is pluggable and extensible.

Here we aim to describe the goals of bpftune, the methods used and discuss possible future directions. Some of the methods used may be of more general interest; for example, online correlational analysis in eBPF is a useful technique that can help automate observability-driven decision-making and drill-down. In addition, bpftune showcases a number of types of eBPF programs so the availability of the code may hopefully help developers learn eBPF too.