sys: Remove $FreeBSD$: one-line .c patternRemove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDThe SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catchup to that fact and revert to their recommended match of BSD-2-Clause.Discussed with: pfgMFC After: 3 daysSponsored by: Netflix
show more ...
routing: add IPv6 fib validation procedure.Allow consistency validation of the inet6 fib based on rib data.Validation can be kicked off by loading test_lookup module and running sysctl net.route.
routing: add IPv6 fib validation procedure.Allow consistency validation of the inet6 fib based on rib data.Validation can be kicked off by loading test_lookup module and running sysctl net.route.test.run_inet6_scan=1MFC after: 1 week
routing: Use process fib instead of fib 0 when conducting tests.* Allow to do validation/performance tests by using process fib instead of default fib 0.* Print all validation errors instead of j
routing: Use process fib instead of fib 0 when conducting tests.* Allow to do validation/performance tests by using process fib instead of default fib 0.* Print all validation errors instead of just the first one.MFC after: 1 week
tests: Revise FIB lookups per second benchmarking routinesFix a bug in the LPM SEQ benchmark (missing break inside a switch block)by restructuring the test loop, while introducing additional twos
tests: Revise FIB lookups per second benchmarking routinesFix a bug in the LPM SEQ benchmark (missing break inside a switch block)by restructuring the test loop, while introducing additional twosynthetic test options:ANN: scan only the address space announced in current RIBREP: repeat lookups over several keys in a sliding window schemeThe total of eight combinations of test options are now availablethrough dedicated sysctl hooks.Differential Revision: <https://reviews.freebsd.org/D30311>Reviewed by: melifaroMFC after: 3 days
Revise FIB lookups per second benchmarking routines.Add a LPS benchmark variant which introduces artificial dependenciesbetween successive lookups. While here, instead of writing the resultsfrom
Revise FIB lookups per second benchmarking routines.Add a LPS benchmark variant which introduces artificial dependenciesbetween successive lookups. While here, instead of writing the resultsfrom the lookups to a huge array, add them to an accumulator, in a morelightweight attempt at preventing the CPU's OOO machinery fromdiscarding the lookup results if they would be completely unused.net.route.test.run_lps_rnd measures LPS throughput with independentuniformly random keysnet.route.test.run_lps_seq measures LPS throughput with uniformlyrandom keys with artificial interdependenciesReviewed by: melifaroMFC after: 7 daysDifferential Revision: https://reviews.freebsd.org/D30096
Add IPv4 fib lookup performance tests with uniform keys.Submitted by: zecMFC after: 1 week
Enable running fib tests inside vnet jail.
Add fib lookup testing module.This module intended to measure performance of routing lookups.Uses a list of IP addresses specified by sysctl one-by-one.Performance testing is triggered by changi
Add fib lookup testing module.This module intended to measure performance of routing lookups.Uses a list of IP addresses specified by sysctl one-by-one.Performance testing is triggered by changing sysctl OID with a number of lookups to execute.Lookups are done by the chunks of 10K routes, entering/exiting epoch on chunk granularity to amortise cost.Example:make -C sys/modules/test/fib_lookup unload loadfor i in `cat ~/ip4.txt`; do sysctl net.route.test.add_inet_addr=$i; donefor i in `cat ~/ip6.txt`; do sysctl net.route.test.add_inet6_addr=$i; donesysctl net.route.test.run_inet=10000000dmesg | tailDec 13 23:24:05 current kernel: 10000000 packets in 417240173 nanoseconds, 23967011 ppsDec 13 23:24:06 current kernel: run: 10000000 packets vnet 0xfffff80003073f00Dec 13 23:24:07 current kernel: 10000000 packets in 423086254 nanoseconds, 23635842 ppsDifferential Revision: https://reviews.freebsd.org/D27604