benchmark
Most of the time, bpf-loader work as a library to load eBPF program. It will not affect eBPF program after the program has been loaded and attached.
Most of the time, bpf-loader work as a library to load eBPF program. It will not affect eBPF program after the program has been loaded and attached.
TODO: add more benchmark results
benchmark for loading with exporter
Take opensnoop from bcc/libbpf-tools as an example. starting with BCC, you will need about 0.8s to start the exporter and attach to the probe. With out implement, you only need about 50-70ms which is significantly faster.
$ ps -aux | grep eunomia
root 171562 0.0 0.0 15176 4576 pts/6 S+ 01:08 0:00 sudo ./eunomia-exporter
root 171605 0.1 0.0 350540 7740 pts/6 Sl+ 01:08 0:00 ./eunomia-exporterThe memory usage and CPU usage is also low. see eunomia-exporter for more details.
Continue exploring
Back to index
eunomia-bpf Documentation
Simplify eBPF development with CO-RE and WebAssembly. Build, compile, and distribute eBPF programs easier with automatic code generation.
Previous
Project architecture
we have a loader library, a compile toolchain, and some additional tools like cli and a custom metrics exporter.
Next
ecc docker usage
``shell yourprogram.bpf.c yourprogram.h optional, if you want to use ring buffer to export events ``
- Last updated
- Jan 26, 2024
- First published
- Aug 10, 2023
- Contributors
- 云微, oluceps
Was this page helpful?