Slide 1

Slide 1 text

The state of eBPF in Japan Kenta Tada, KubeDay Japan Co-Chair Toyota Motor Corporation

Slide 2

Slide 2 text

eBPF superpowers

Slide 3

Slide 3 text

What is eBPF ref: https://ebpf.io/what-is-ebpf/

Slide 4

Slide 4 text

What is possible ref: https://ebpf.io/

Slide 5

Slide 5 text

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 …

Slide 6

Slide 6 text

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...

Slide 7

Slide 7 text

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.

Slide 8

Slide 8 text

Tools only work when used correctly

Slide 9

Slide 9 text

eBPF Japan Community

Slide 10

Slide 10 text

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

Slide 11

Slide 11 text

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.

Slide 12

Slide 12 text

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

Slide 13

Slide 13 text

Our exciting journey was just beginning. Please join us! eBPF Japan Community Groups