Alexander V. Chernikov 0433870efe 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 load
for i in `cat ~/ip4.txt`; do sysctl net.route.test.add_inet_addr=$i; done
for i in `cat ~/ip6.txt`; do sysctl net.route.test.add_inet6_addr=$i; done

sysctl net.route.test.run_inet=10000000

dmesg | tail

Dec 13 23:24:05 current kernel: 10000000 packets in 417240173 nanoseconds, 23967011 pps
Dec 13 23:24:06 current kernel: run: 10000000 packets vnet 0xfffff80003073f00
Dec 13 23:24:07 current kernel: 10000000 packets in 423086254 nanoseconds, 23635842 pps

Differential Revision: https://reviews.freebsd.org/D27604
2021-01-09 13:20:30 +00:00
..
2018-07-07 15:55:52 +00:00
2018-05-24 17:06:00 +00:00
2020-10-02 18:18:01 +00:00
2020-02-03 17:35:11 +00:00
2018-01-12 12:14:14 +00:00
2018-11-01 23:11:47 +00:00
2020-02-03 17:35:11 +00:00
2018-07-17 23:23:45 +00:00
2020-04-28 16:09:18 +00:00
2019-03-01 04:17:43 +00:00
2020-02-03 17:35:11 +00:00
2019-03-28 08:30:45 +00:00
2019-03-28 08:30:45 +00:00
2020-03-20 21:06:58 +00:00
2020-12-17 14:20:36 +00:00
2019-03-28 08:59:11 +00:00
2019-06-06 03:02:25 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-02-03 17:35:11 +00:00
2020-02-06 21:01:19 +00:00
2020-08-22 03:57:55 +00:00
2020-02-03 17:35:11 +00:00
2020-05-16 02:29:10 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2020-03-20 21:06:58 +00:00
2021-01-07 20:40:41 -07:00
2019-08-16 20:30:31 +00:00
2019-08-21 22:18:01 +00:00
2020-12-04 21:12:17 +00:00
2019-10-12 23:01:16 +00:00
2020-11-05 15:55:23 +00:00
2020-03-20 21:06:58 +00:00
2020-04-28 16:09:18 +00:00
2018-01-12 12:14:14 +00:00
2018-01-12 12:14:14 +00:00
2020-04-28 16:09:18 +00:00
2020-02-03 17:35:11 +00:00
2018-07-20 17:46:55 +00:00
2019-07-01 17:05:41 +00:00
2020-10-08 20:56:00 +00:00
2021-01-09 13:20:30 +00:00
2020-10-19 20:43:29 +00:00
2019-02-26 19:55:03 +00:00
2019-08-25 17:13:00 +00:00
2021-01-09 12:41:04 +00:00