eunomia-bpf / bpftime

Userspace eBPF runtime for fast Uprobe & Syscall hook & Extensions with LLVM JIT
https://eunomia.dev/bpftime/
MIT License
693 stars 68 forks source link

[BUG] Performance issue of the new attach implementation #223

Closed Officeyutong closed 4 months ago

Officeyutong commented 4 months ago

After the new attach implementation, uprobe seems to be a bit slower (About 5%) than before

Before

before

After

after

Try findout the rootcause and fixit.

Some possible rootcause