4

LISA21 - BPF Internals

 2 years ago
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.
neoserver,ios ssh client

LISA21 - BPF Internals

4,374 views
Jun 9, 2021

21.3K subscribers

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
    • www.tuicool.com 6 years ago
    • Cache

    IR decoding with BPF

    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
    • www.tuicool.com 5 years ago
    • Cache

    Linux Observability with BPF

    Wednesday, July 10, 2019 Below is the foreward for the new book on Linux Observability with BPF by two of my favorite programmers,

  • 217
    • arthurchiao.github.io 4 years ago
    • Cache

    [译] Cilium:BPF 和 XDP 参考指南

    [译] Cilium:BPF 和 XDP 参考指南(2019) Published at 2019-10-09 | Last Update 2019-10-09 本文翻译自 Cilium 1.6 的官方文档:BPF and...

  • 29
    • blog.redsift.com 4 years ago
    • Cache

    Writing BPF code in Rust

    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
    • docs.cilium.io 3 years ago
    • Cache

    BPF and XDP Reference Guide

  • 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
    • www.brendangregg.com 3 years ago
    • Cache

    BPF Theremin, Tetris, and Typewriters

    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
    • www.brendangregg.com 3 years ago
    • Cache

    USENIX LISA2021 BPF Internals (eBPF)

    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