Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keynote_ The State of eBPF in Japan

Keynote_ The State of eBPF in Japan

Kenta Tada

August 28, 2024
Tweet

More Decks by Kenta Tada

Other Decks in Programming

Transcript

  1. The state of eBPF in Japan Kenta Tada, KubeDay Japan

    Co-Chair Toyota Motor Corporation
  2. What is recently possible : sched-ext User program of your

    scheduler Core kernel CPU scheduler (kernel/sched/core.c) User Kernel sched_ext FW (kernel/sched/ext.c) CFS (kernel/sched/fair.c) BPF program of your scheduler …
  3. Challenges with eBPF • Security • Performance Tradeoffs • Co-existence

    • Deep kernel expertise • Too much data • Interoperability ref: https://ebpf.foundation/report-the-state-of-ebpf/ But we are not hyperscalers. Lack of expert talent...
  4. Challenges : uprobe in a container ref: https://speakerdeck.com/kentatada/ebpf-technologies-with-container bin /

    sbin bin A Targeted Program Targeted Program × : /bin/TargetedProgram ◦ : /A/bin/TargetedProgram • The target program's path varies by mount namespace.
  5. About eBPF Japan Community • Share operational knowledge of eBPF

    across various industries to accelerate its introduction into production systems • Disseminate patterns and best practices for developing eBPF programs • Increase contributions to eBPF-related open-source software from Japan
  6. Local In-Person eBPF Meetup At our first event, We have

    shared use cases of eBPF in the automotive, telecom, and gaming industries. We are now planning our next event.
  7. Hook points for [k,u]probe in OSS • Objectives • For

    application developers to make it easy to use eBPF, this activity aims to identify and document [k,u]uprobe hook points in widely used OSS. • Activities • Gather information about user-space function for uprobe • Investigate the hook point of application-related kernel functions for kprobe • Ex. negative dentry cache • Encourage an adoption of BTF for userspace programs