1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Understanding The Linux Kernel's BPF In-Kernel Virtual Machine

Linux Kernel

Published on 03 March 2015 09:31 AM EST
Written by Michael Larabel in Linux Kernel
Comment On This Article

BPF continues marching forward as a universal, in-kernel virtual machine for the Linux kernel. The Berkeley Packet Filter was originally designed for network packet filtering but has since been extended as eBPF to support other non-network subsystems via the bpf syscall. Here's some more details on this in-kernel virtual machine.

Alexei Starovoitov presented at last month's Linux Foundation Collaboration Summit in Santa Rosa about BPF as an in-kernel virtual machine. The slides have been published for those wishing to learn more about its state and capabilities.

The JIT support for BPF has been upstreamed for x86_64 and ARM64 within the Linux kernel while the s390 and PPC Just-In-Time support is still a work-in-progress. On the compiler side, the LLVM back-end is upstream while the GCC back-end remains a work-in-progress.

Understanding The Linux Kernel's BPF In-Kernel Virtual Machine


Besides networking, BPF can be useful for tracing, analytics / monitoring / debugging, in-kernel optimizations, hardware modeling, and "crazy stuff."

If you're interested in more technical information on BPF as an in-kernel virtual machine, see the PDF slides by
Alexei Starovoitov.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Articles & Reviews
  1. Khronos Group Announces Vulkan, OpenCL 2.1, SPIR-V
  2. Samsung 850 EVO SSD Linux Benchmarks
  3. Kubuntu 15.04 Is Turning Out Quite Nice, Good Way To Try Out The Latest KDE
  4. 5-Way Linux Distribution Comparison On The Core i3 NUC
  5. OCZ ARC 100 Linux SSD Benchmarks
  6. Lenovo ThinkPad X1 Carbon Works Great As A Linux Ultrabook
Latest Linux News
  1. Understanding The Linux Kernel's BPF In-Kernel Virtual Machine
  2. Another Software Patent That Should Be Tossed Out
  3. Imagination Already Has A Vulkan Driver In The Works For PowerVR GPUs
  4. A Provisional Specification To SPIR-V
  5. AMD Will Release Mantle Programming Guide, API Reference This Month
  6. Unreal Engine Made Free By Epic Games
  7. Qt 5.5 Alpha Is Getting Close, But Still Behind Schedule
  8. OpenBSD Sponsors Work For Better Browser Security
  9. Improved ODF Reading Support Comes To KDE's Calligra
  10. Another Step Closer On The New Linux Benchmarking Test Farm
Most Viewed News This Week
  1. More Proof That Allwinner Is Violating The GPL
  2. The Tremendous Features Of Fedora 22
  3. Krita 2.9 Released, Their Biggest Release Ever
  4. A Single UEFI Executable With The Linux Kernel, Initrd & Command Line
  5. LLVM 3.6 & Clang 3.6 Deliver More Features, Complete C++14 Support
  6. Firefox 36 Brings Full HTTP/2 Support
  7. ALSA 1.0.29 Released
  8. Xfce 4.12 Released After Nearly Three Years Of Work