![](/web/20210925082912im_/https://ebpf.io/static/logo-big-9cf8920e80cdc57e6ea60825ebe287ca.png)
eBPF is a revolutionary technology with origins in the Linux kernel that can run sandboxed programs in an operating system kernel. It is used to safely and efficiently extend the capabilities of the kernel without requiring to change kernel source code or load kernel modules.
Historically, the operating system has always been an ideal place to implement observability, security, and networking functionality due to the kernel’s privileged ability to oversee and control the entire system. At the same time, an operating system kernel is hard to evolve due to its central role and high requirement towards stability and security. The rate of innovation at the operating system level has thus traditionally been lower compared to functionality implemented outside of the operating system.
![](/web/20210925082912im_/https://ebpf.io/static/overview-bf463455a5666fc3fb841b9240d588ff.png)
eBPF changes this formula fundamentally. By allowing to run sandboxed programs within the operating system, application developers can run eBPF programs to add additional capabilities to the operating system at runtime. The operating system then guarantees safety and execution efficiency as if natively compiled with the aid of a Just-In-Time (JIT) compiler and verification engine. This has led to a wave of eBPF-based projects covering a wide array of use cases, including next-generation networking, observability, and security functionality.
Today, eBPF is used extensively to drive a wide variety of use cases: Providing high-performance networking and load-balancing in modern data centers and cloud native environments, extracting fine-grained security observability data at low overhead, helping application developers trace applications, providing insights for performance troubleshooting, preventive application and container runtime security enforcement, and much more. The possibilities are endless, and the innovation that eBPF is unlocked has only just begun.
Security
![](/web/20210925082912im_/https://ebpf.io/static/intro_security-e714bea99d4351c1097477e8920d94ec.png)
Building on the foundation of seeing and understanding all system calls and
combining that with a packet and socket-level view of all networking operations
allows for revolutionary new approaches to securing systems. While aspects of
system call filtering, network-level filtering, and process context tracing
have typically been handled by completely independent systems, eBPF allows for
combining the visibility and control of all aspects to create security systems
operating on more context with better level of control.
Networking
![](/web/20210925082912im_/https://ebpf.io/static/intro_networking-46255f740daa161407f59190a8774e9a.png)
The combination of programmability and efficiency makes eBPF a natural fit for
all packet processing requirements of networking solutions. The programmability
of eBPF enables adding additional protocol parsers and easily program any
forwarding logic to meet changing requirements without ever leaving the packet
processing context of the Linux kernel. The efficiency provided by the JIT
compiler provides execution performance close to that of natively compiled
in-kernel code.
Tracing & Profiling
![](/web/20210925082912im_/https://ebpf.io/static/intro_tracing-ffa5e3fa3407ecb445b1549f85f590f5.png)
The ability to attach eBPF programs to trace points as well as kernel and user
application probe points allows unprecedented visibility into the runtime
behavior of applications and the system itself. By giving introspection
abilities to both the application and system side, both views can be combined,
allowing powerful and unique insights to troubleshoot system performance
problems. Advanced statistical data structures allow to extract meaningful
visibility data in an efficient manner, without requiring the export of vast
amounts of sampling data as typically done by similar systems.
Observability & Monitoring
![](/web/20210925082912im_/https://ebpf.io/static/intro_observability-fcba5bd29e9179954764bb0ee9385905.png)
Instead of relying on static counters and gauges exposed by the operating
system, eBPF enables the collection & in-kernel aggregation of custom metrics
and generation of visibility events based on a wide range of possible sources.
This extends the depth of visibility that can be achieved as well as reduces
the overall system overhead significantly by only collecting the visibility
data required and by generating histograms and similar data structures at the
source of the event instead of relying on the export of samples.
Spring is back in the Northern Hemisphere, and with it all kinds of features
are blooming for eBPF. Kernel 5.12 is out and version 5.13 is on track to
bring new exciting functionalities. At the same time, new projects hatch and
companies are enjoying renewed activity. Several eBPF-related projects applied
to join or upgrade their status in the bosom of CNCF. After some delay, no
doubt caused by winter hibernation, welcome to the fifth issue of the eBPF
Updates!
In several parts of the globe, February is traditionally about love, and
pancakes. eBPF sure received a lot of love over the last weeks! Blogging,
conferencing, and kernel development have resumed full speed after the quiet
period at the end of the year. Here are all the latest updates, plus a section
focusing on program size limits. Alas, uncertainty remains as for eBPF getting
pancakes.
To learn more about eBPF and its use cases: