#LinuxPlumbers

Thorsten Leemhuis (acct. 1/4)kernellogger@fosstodon.org
2024-10-08

Many dozens of recordings from this years @linuxplumbersconf are now available on YouTube. You can find them in the list of videos (youtube.com/@LinuxPlumbersConf ) on in a dedicated playlist (youtube.com/playlist?list=PLVs ).

Abstracts as well as slides for most of the talks are available through the #LinuxPlumbers2024's schedule page: lpc.events/event/18/timetable/

#Linux #kernel #LinuxKernel #LinuxPlumbers

2024-09-26

The slides for my #LinuxPlumbers talk on the formal verification of the #eBPF verifier are available at: pchaigno.github.io/assets/Linu. I explained how Hari Vishwanathan et al. sped up the verification to a few minutes and how we're now able to continuously verify the verifier's range analysis in CI.

Slide showing the Agni runtime for various kernels. The plot shows the runtime got down to a few minutes and went up again in v6.8. The divide-and-conquer could be used here again to reduce the runtime, by verifying the subfunctions of reg_bounds_sync separately.
2024-09-25

Everyone wants packet metadata in Linux, and everyone ends up (over-)using skb->mark. At #LinuxPlumbers, Arthur Fabre and Jakub Sitnicki (Cloudflare) discussed a new, larger metadata mechanism that could be accessed by all #eBPF programs along the stack.

Slides: lpc.events/event/18/contributi
Recording: youtube.com/live/rQtQ-Nd1ZmA?t

Slide showing one use case for packet metadata, to identify a packet in tracing. In this case, an ID needs to be preserved across all points of the stack, including through NAT, decapsulation, etc.
2024-09-25

日本に戻りました。いろんな人と話せてよかったです。
#OSSummit #linuxplumbers #kvmforum

2024-09-24

Luis Gerhorst (FAU) and his colleagues found that many existing #eBPF programs would be rejected due to the verifier's Spectre mitigations if they were loaded as unprivileged. They proposed to add lfences to cover those cases. #LinuxPlumbers

Slides: lpc.events/event/18/contributi
Recording: youtube.com/live/rQtQ-Nd1ZmA?f
Paper: arxiv.org/pdf/2405.00078
Code: gitlab.cs.fau.de/un65esoq/linu

Slide illustrating a Spectre-PHT vulnerability in a program, with the control flow graph of the program and dotted lines for speculative execution branches. The example shows a type confusion vulnerability under speculative execution, with a scalar speculatively accessed as a pointer.
2024-09-24

So much is now happening in #eBPF that tracing kernel functions isn't enough to debug the network stack. You need to trace inside BPF programs! At #LinuxPlumbers, my colleagues @brb and Gray Liang explained how they extended pwru to trace BPF programs and why it wasn't so simple.

Slides: lpc.events/event/18/contributi
Recording: youtube.com/live/rQtQ-Nd1ZmA?t
Code: github.com/cilium/pwru

Slide showing the challenge of tracing BPF-based datapath with only a view of kernel functions. The top of the slide shows the output of the old pwru, where only Linux functions from the network stack are printed. The bottom shows the huge control-flow graph of the BPF code, highlighting that it's also a complex piece that needs tracing.
2024-09-24

On the last day of #LinuxPlumbers, @kkdwivedi (EPFL) took a look at how we could redesign the network stack in a backward compatible way to improve its efficiency without losing isolation. Basically the holy grail of network stack research (dataplane OSes, kernel bypasses, kernel offloads). He thinks #eBPF could help implement a new Fibers abstraction to solve this problem.

Slides: lpc.events/event/18/contributi
Recording: youtube.com/live/rQtQ-Nd1ZmA?f

Slide presenting the what the new abstraction would need to provide, with an example of its application to the existing RX stack.
2024-09-22

I found this picture at the hotel I stayed for #OSSummit and #linuxplumbers. Google says it is Commodore PET 8032. Rarely seen in Japan.

2024-09-21

I really enjoyed my first #LinuxPlumbers, in Vienna. There were so many in-depth & engaging talks, which sparked plenty of impromptu discussions and hallway track huddles. I particularly liked Julia Lawall's talk on formal verification, meeting up with the KernelCI folks, and the chance to see more of my ELISA comrades in real life. Thanks to the organisers and all the other participants!

2024-09-21

I gave a talk about my new CPU scheduler, named LAVD. While the recorded audio is not great, I hope it is still understandable.

"Using sched_ext to improve frame rates on the SteamDeck: Ideas behind the LAVD scheduler" in the sched_ext MC at the #linuxplumbers 2024, Vienna.

youtu.be/FmrRfD51cgc?t=6154

My Kernel Memory Management LPC Micro Conference talk titled "DAMON: Long-term Plans for Kernel That {Just Works,Extensible}" was successful.
The video[1] and slides[2] are available. I was obviously nervous since I forgot contents of the slides due to the great talks from two previous speakers (I highly recommend you to watch those). I like it though, since it reminds me how humble I am ;)

[1] https://www.youtube.com/live/CTWQ-d7pj5s?feature=shared&t=20182
[2] https://lpc.events/event/18/contributions/1768/

#linux #kernel #damon #linuxplumbers
2024-09-20

And so we end a week of intense knowledge exchange! Thanks everyone who attended our talks and visited our booth at #OSSummit EU, #LinuxPlumbers and #LFEuropeMemberSummit. Big thank you to the sponsors and to the @linuxfoundation for making these events possible.👏 #OpenSource

Collection of six pictures taken during 2024 OSSummit Europe, LPC and LF Europe Member Summit in Vienna, Austria. From left to right, top to bottom order:
1. Audience of Changwoo Min's talk at LPC 2024, sched_ext MC.
2. Christian Gmeiner on the stage for Embedded Linux Conference in OSSummit Europe 2024.
3. Manuel Rego presenting at LF Europe Member Summit 2024.
4. Visitors of Igalia's booth at OSSummit Europe 2024.
5. André Almeida on the stage in the Graphics & DRM MC of LPC 2024.
6. Thadeu Cascardo presenting at LPC 2024 in the Real-time MC.
2024-09-20

Double CPU scheduling (at host and at guest) causes inefficiencies in virtualized hosts. @joel_linux (Google) believes that eBPF could help the guest and host cooperate to improve performance. At #LinuxPlumbers now!

Slides: lpc.events/event/18/contributi
Stream: youtube.com/live/lQXmHdefoXE

Overview of the architecture of Paravirt with the host-guest cooperation.
2024-09-20

Optimizing memory management is becoming critical, especially with CXL and the hardware limits of TLB scaling.
Kaiyang Zhao (CMU) believes making memory management programmable with #eBPF could help. #LinuxPlumbers

Slides: lpc.events/event/18/contributi
Recording: youtube.com/live/rQtQ-Nd1ZmA?t

Slide stating the basic idea/need for programmable memory management, with some ideas of how it could help. The slide mentions deciding where allocated pages should go, how many huge pages to give to processes, etc.
2024-09-20

When troubleshooting with bpftrace, you don't want to have to troubleshoot bpftrace itself! bpftrace needs to be really reliable. At #LinuxPlumbers, Daniel Xu (Meta) explained why and how he built a Nix-based CI to address this challenge.

Slides: lpc.events/event/18/contributi
Recording: youtube.com/live/mfMbtQYasB0?t

Slide showing how the Nix-based CI is used and what it does.
2024-09-20

Next at #LinuxPlumbers, to improve the #eBPF verifier, @kkdwivedi (EPFL) proposes KFlex, a better tradeoff between runtime sandboxing (ex. SFI) and static analysis (the eBPF verifiers). Out of all the approaches presented to improve/replace the verifier, this is IMO the most likely to make it upstream!

Slides: lpc.events/event/18/contributi
Recording: youtube.com/live/rQtQ-Nd1ZmA?t
Code: github.com/rs3lab/KFlex

Slide with the problem statement for KFlex, with current approaches having to trade-off flexibility for performance or vice versa.Slide showing the performance improvement of offloading Redis to the kernel using KFlex.
2024-09-20

At #LinuxPlumbers, Arpad Kis explains what it took to create a new userspace #eBPF VM and have it run Doom.

Slides: lpc.events/event/18/contributi
Recording: youtube.com/live/rQtQ-Nd1ZmA?t

Slide showing Doom running in a userspace eBPF VM.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst