4 ms·
Extended BPF: A New Type of Software [pdf]
- ganzuul 7y agoED: Can't delete.
- Terretta 7y ago> tl;dr Well, that doesn’t say much. :-) Here’s more: BPF (eBPF) tracing is a superpower that can analyze everything, and I'll show you how in my upcoming book BPF Performance Tools: Linux System and Application Observability, coming soon from Addison Wesley. The book includes over 150 BPF observability tools that you can run to find performance wins and troubleshoot software, and also shows you how to write your own. Over one hundred of these BPF tools are newly-developed for this book; you can see many of them in this diagram... http://www.brendangregg.com/blog/2019-07-15/bpf-performance-tools-book.html http://www.brendangregg.com/blog/2019-07-15/bpf-performance-... And a writeup: Netflix: BPF is a new type of software we use to run Linux apps securely in the kernel A Netflix performance architect says BPF promises a fundamental change to a 50-year-old kernel model. https://www.zdnet.com/article/netflix-bpf-is-a-new-type-of-software-we-use-to-run-linux-apps-securely-in-the-kernel/ https://www.zdnet.com/article/netflix-bpf-is-a-new-type-of-s...
- Garph 7y agoThe presenter expresses BPF has become a technology name for this type of kernel application and is no longer an acronym
- wyldfire 7y agoRecent discussion: https://news.ycombinator.com/item?id=21691024 https://news.ycombinator.com/item?id=21691024
- aey 7y agoBPF is an awesome VM. A huge thanks to Brendan on the work he has done to make it usable outside the kernel. We built a whole rust tool chain around it. https://github.com/solana-labs/rust-bpf-sysroot https://github.com/solana-labs/rust-bpf-sysroot https://github.com/solana-labs/rust-bpf-builder https://github.com/solana-labs/rust-bpf-builder
- throwaway894345 7y agoCan you elaborate on what makes it a good VM? I know very little about VMs, but I'm curious.
- aey 7y agoIt’s doesn’t have a stack pointer, just stack frames. So hardware that doesn’t implement a stack can execute BPF kernels.
- BubRoss 7y agoIs there a good explanation for why saying this is a 'new type of software' and a 'fundamental change to the 50 year old kernel structure' isn't hyperbole? I understand that it is some sort of constrained virtual machine that can analyze packets, bit it seems like the marketing here is a little much.
- allset_ 7y agoIt can do much more than analyze packets. It's a way of running user defined programs in kernel space with fairly strong assurances that it won't crash the kernel.
- deleted 7y ago[deleted]
- farisjarrah 7y agoBPF programs can hook directly into the kernel more or less and can safely share memory to userspace. This is important because after all the fall out from Spectre and Meltdown, they found that the BPF virtual machine programs were immune from this class of vulnerabilities.
- aey 7y agoIt’s a culmination of decades of research and implementation to mainstream Ring-0 OS kernels that are upgradable at runtime with untrusted userspace code.
- staticassertion 7y agoeBPF seems like a great privesc path of the future.
- 0xdeadbeefbabe 7y agoIf this isn't really about packet filtering we could call it something else, right? xmlHttpRequest became Ajax after all.
- cbdumas 7y agoThis seems like a roundabout way of getting to something much more like what wikipedia calls a "Language-based System"[1], which is something I've been thinking about a lot lately. Very cool. [1] https://en.wikipedia.org/wiki/Language-based_system https://en.wikipedia.org/wiki/Language-based_system