On 3/24/19 9:26 PM, Alexei Starovoitov wrote: > The kernel has to be fast as a dataplane but these extra features > will slow down the routing by making kernel-as-database scale a bit better.
I took Vincent Bernat's fib lookup microbenchmark and added input and output route lookups to it. Through this commit: commit 4d5edf447c88e59f5c5716180c1001cde9bf4473 Author: David Ahern <dsah...@gmail.com> Date: Mon Mar 11 18:34:48 2019 -0700 ipv4: Allow ipv6 gateway with ipv4 routes There is no real measurable difference for IPv4 fib lookups (fib_lookup), input routes (ip_route_input_rcu) and output routes (ip_route_output_key_hash_rcu). This is using a bare metal server with a L5640 Xeon CPU. The above commit is the target for the first 2 rounds of patches. I will of course be checking performance each step along the way to nexthop objects.