fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

11K
active users

#ebpf

4 posts4 participants0 posts today

There's a lot of content in our upcoming 1.8 release!

Here are two new blog posts that both relate to performance in #NetworkObservability :

1. How you can fine-tune NetObserv filters and sampling to collect precise information, hence reducing the overall footprint : netobserv.io/posts/enhancing-n

2. How we optimized our #eBPF agent to divide by two its CPU load, with technical details inside : netobserv.io/posts/performance

This release is planned in a week or two in OpenShift ; the community images are already out there!

arXiv logo
arXiv.orgCache is King: Smart Page Eviction with eBPFThe page cache is a central part of an OS. It reduces repeated accesses to storage by deciding which pages to retain in memory. As a result, the page cache has a significant impact on the performance of many applications. However, its one-size-fits-all eviction policy performs poorly in many workloads. While the systems community has experimented with a plethora of new and adaptive eviction policies in non-OS settings (e.g., key-value stores, CDNs), it is very difficult to implement such policies in the page cache, due to the complexity of modifying kernel code. To address these shortcomings, we design a novel eBPF-based framework for the Linux page cache, called $\texttt{cachebpf}$, that allows developers to customize the page cache without modifying the kernel. $\texttt{cachebpf}$ enables applications to customize the page cache policy for their specific needs, while also ensuring that different applications' policies do not interfere with each other and preserving the page cache's ability to share memory across different processes. We demonstrate the flexibility of $\texttt{cachebpf}$'s interface by using it to implement several eviction policies. Our evaluation shows that it is indeed beneficial for applications to customize the page cache to match their workloads' unique properties, and that they can achieve up to 70% higher throughput and 58% lower tail latency.

Last session of the day, Mike Willard does an introduction to Netkit, and of the challenges faced when rolling it out in production at scale. A new kind of virtual, programmable device! We also used Netkit to improve performance in Cilium.

Johannes Bechberger (@parttimenerd) explains how to build a minimal scheduler for the Linux kernel with eBPF, sched_ext, and C. There's a demo! Nice introduction for anyone who wants to get started quick.

I discover sched_ext has a logo, and Johannes even brought stickers!

Nice demo, but sorry Johannes, you got the wrong password 😉

How can you use Rust to build your application _and_ the eBPF program it manages? Daniel Mellado does an introductory presentation about the Aya library, which offers a templating mechanism to write programs in Rust. Handy if you want to get started. There's even a demo of an XDP app 🐝