On Wed, Jun 23, 2021 at 8:08 PM Clemens Zauner <czau...@atnoc.net> wrote:
> > I remember, when the machine boots, there is a message about changing > to dpdk_lpm 4 or 6 or something like that. A message I've never seen > before, And that I should definitively google what that means. > > I assume, 'lpm' means 'longest prefix match', correct? > > FreeBSD includes now multiple route lookup algorithms [1]: - bsearch: Binary search used if less than 16 routes installed; - radix_lockless: selected if you have more than 16 but less than 1000 routes installed; - radix: radix (compressed binary tree), the default one used as fallback - dpdk_lpm: DPDK RTE Longuest Prefix Match (need to load kernel modules: dpdk_lpm4.ko and dpdk_lpm6.ko, which is done on BSDRP) - dxr: very fast IPv4 LPM (need to load kernel module: fib_dxr.ko) Currently you are using the dpdk algo, but could you revert back to the historical default (radix) to check if it solves your problem ? You could try a : sysctl net.route.algo.inet.algo=radix4 Or you could disable loading dpdk modules into /boot/loader.conf.local but it will use radix_lockless in place of radix. [1] https://reviews.freebsd.org/D27401?id=80705 Thanks, Olivier
_______________________________________________ Bsdrp-users mailing list Bsdrp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bsdrp-users