HomeFreeBSD

Revise FIB lookups per second benchmarking routines.

Description

Revise FIB lookups per second benchmarking routines.

Add a LPS benchmark variant which introduces artificial dependencies
between successive lookups. While here, instead of writing the results
from the lookups to a huge array, add them to an accumulator, in a more
lightweight attempt at preventing the CPU's OOO machinery from
discarding the lookup results if they would be completely unused.

net.route.test.run_lps_rnd measures LPS throughput with independent
uniformly random keys

net.route.test.run_lps_seq measures LPS throughput with uniformly
random keys with artificial interdependencies
Reviewed by: melifaro
MFC after: 7 days
Differential Revision: https://reviews.freebsd.org/D30096

(cherry picked from commit a43104ebe7630111d7e7debc56aacf49787dcf43)

Details

Provenance
zecAuthored on May 5 2021, 10:28 AM
Reviewer
melifaro
Differential Revision
D30096: Revise FIB lookups per second benchmarking routines
Parents
rG402ddb85eed2: Add IPv4 fib lookup performance tests with uniform keys.
Branches
Unknown
Tags
Unknown