On 3/31/26 3:07 PM, [email protected] wrote: > Benchmarks > ---------- > > Performance was measured using bpftrace kprobe/kretprobe on > __ip_dev_find inside a virtme-ng VM (4 vCPUs, veth pair, network > namespaces, CPU-isolated host). A C benchmark tool sends unconnected > UDP packets in a tight loop, cycling through all source addresses to > exercise the lookup path on every sendto(). > > __ip_dev_find average latency (bpftrace stats, 5 rounds x 3s): > > Addrs rhltable (ns) hlist (ns) Improvement > ----- ------------- ---------- ----------- > 20 201 200 0%
why 20 as the low end? 1 ipv4, 2 ipv6 would be most common use case. All of the benchmarking numbers should start there. > 100 210 218 +4% > 500 206 234 +12% > 700 218 237 +8% > 1000 214 228 +6% > 2000 231 265 +13% > 5000 247 335 +26% >
