LISA21 - BPF Internals
source link: https://www.youtube.com/watch?v=_5Z2AU7QTH4
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
LISA21 - BPF Internals
BPF Internals
Brendan Gregg
Extended BPF (aka eBPF) is a new type of software for secure, performant, event-driven programs, and has seen widespread adoption. Your Linux servers may already be running BPF programs; Netflix cloud instances run 15 by default, and Facebook over 40. These programs are for networking, performance tools, security policies, device drivers, application proxies, and more. Many have said that BPF is taking over Linux.
This talk is a deep dive that describes how BPF works internally and dissects some modern performance observability tools. Details covered include the kernel BPF implementation: the verifier, JIT compilation, and the BPF execution environment; the BPF instruction set; different event sources; and how BPF is used by user space, using bpftrace programs as an example. This includes showing how bpftrace is compiled to LLVM IR and then BPF bytecode, and how per-event data and aggregated map data are fetched from the kernel.
View the full LISA21 program at https://www.usenix.org/conference/lis...
Recommend
-
78
-
34
Did you know...? LWN.net is a subscriber-supported publication; we rely on subscribers to keep the entire operation going. Please help out by
-
87
Wednesday, July 10, 2019 Below is the foreward for the new book on Linux Observability with BPF by two of my favorite programmers,
-
217
[译] Cilium:BPF 和 XDP 参考指南(2019) Published at 2019-10-09 | Last Update 2019-10-09 本文翻译自 Cilium 1.6 的官方文档:BPF and...
-
29
If you do system programming you’ve probably heard BPF mentioned a lot lately. It’s a hot new Linux technology that allows running user supplied programs in the kernel. It’s being used by Netflix, Facebook, Google, Cloudfl...
-
15
-
6
[译] 基于 BPF/XDP 实现 K8s Service 负载均衡 (LPC, 2020) Published at 2020-11-24 | Last Update 2020-11-24 本文翻译自 2020 年 Daniel Borkmann 和 Martynas Pumputis 在 Linux Plumbers Conference 的一篇分享:
-
9
BPF Theremin, Tetris, and Typewriters 22 Dec 2019 For my AWS re:Invent talk on BPF Performance Analysis at Netflix, I began with a demo of "BPF superpowers" (aka eBPF). The video is on ...
-
6
USENIX LISA2021 BPF Internals (eBPF) 15 Jun 2021 For USENIX LISA2021 I gave a 40 minute deep dive talk on BPF internals for Linux, focusing on observability tracing tools. Since there are already BPF internals reference...
-
4
LISA21 - Computing Performance: On the Horizon6,477 viewsJun 9, 2021
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK