Open Alan-Jowett opened 2 years ago
Proposal: Build a library of cross-platform eBPF performance tests built on top of BPF_PROG_TEST_RUN and libbpf. This will permit running the same tests on Linux and Windows for cross platform performance comparisons.
I would recommend updating bpftool to allow it to set CPU id for the bpftool prog run command. This will allow using bpftool for performance measurements without needing to write a new tool.
eBPF performance tests currently only focus on the platform and execution context.
It would make sense to add the ability to run more meaningful end-to-end performance tests that loaded eBPF programs + maps and measure performance in situ.