3 ms·
I wonder what kind of performance this gets when compared with running eBPF since eBPF was written with performance in mind from the start.
by bostonsre 5y ago
I wonder what kind of performance this gets when compared with running eBPF since eBPF was written with performance in mind from the start.
- PoignardAzur 5y agoWhat?
- bostonsre 5y agoBPF or berkely packet filter was written to be a faster replacement of tcpdump. People saw that it was pretty neat and started using it for non-tcp dump like stuff and it became extended BPF/eBPF. I would guess that running eBPF on Windows would be a lot slower, but it would be interesting to see a performance comparison.
- tptacek 5y agoPoint of order: BPF wasn't written simply for tcpdump; it's part of a line of research on using PL runtimes to configure and operate networking stacks; so, right after McCanne's BPF paper, you get MPF, which is proposed to do all of demux for Mach.
- tptacek 5y agoThey're doing native code generation, like Linux.
- mhh__ 5y agoHence, the reason why eBPF has been referred to in the past as a Spectre-accelerator