aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorFeng Zhou <[email protected]>2022-06-10 02:33:08 +0000
committerAlexei Starovoitov <[email protected]>2022-06-11 21:25:35 +0000
commit89eda98428ce10f8df110d60aa934aa5c5170686 (patch)
tree8974d99ea9ec8751d0ff50f257b5e5206e740208 /scripts/bpf_doc.py
parentbpf: avoid grabbing spin_locks of all cpus when no free elems (diff)
downloadkernel-89eda98428ce10f8df110d60aa934aa5c5170686.tar.gz
kernel-89eda98428ce10f8df110d60aa934aa5c5170686.zip
selftest/bpf/benchs: Add bpf_map benchmark
Add benchmark for hash_map to reproduce the worst case that non-stop update when map's free is zero. Just like this: ./run_bench_bpf_hashmap_full_update.sh Setting up benchmark 'bpf-hashmap-ful-update'... Benchmark 'bpf-hashmap-ful-update' started. 1:hash_map_full_perf 555830 events per sec ... Signed-off-by: Feng Zhou <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions