Re: [RFC v2 bpf-next 8/9] bpf: Provide helper to do lookups in kernel FIB table
From: David Miller <davem@davemloft.net>
Date: 2018-05-02 17:00:27
From: David Miller <davem@davemloft.net>
Date: 2018-05-02 17:00:27
From: David Ahern <redacted> Date: Wed, 2 May 2018 09:37:21 -0600
To share numbers from recent testing I did using Vincent's modules,
lookup times in nsec (using local_clock) with MULTIPLE_TABLES config
disabled for IPv4 and IPv6
IPv4 IPv6-dst IPv6-fib6
baseline 49 126 52
I have other cases with combinations of configs and rules, but this
shows the best possible case.
IPv6 needs some more work to improve speeds with MULTIPLE_TABLES enabled
(separate local and main tables unlike IPv4) and IPV6_SUBTREES enabled.Yes, like for ipv4 sharing local and main tables will help a lot.