Re: [PATCH net-next 0/4] net: route: improve route hinting

From: Leone Fernando
Date: Wed Apr 03 2024 - 07:50:58 EST


Hi David,

>
> For the rest of it, Jakub's response was a good summary: it is hard to
> know if there is a benefit to real workloads. Cache's consume resources
> (memory and cpu) and will be wrong some percentage of the time
> increasing overhead.
>

I understand what you are saying here.
Do you have an idea for extra tests or measurements to make sure
the patch also improves in real workloads?

> Also, it is targeted at a very narrow use case -- IPv4 only, no custom
> FIB rules and no multipath.

Implementation for IPv6 is almost identical. I decided to start with IPv4
and I plan to submit IPv6 support in a future patch.
This patch basically improves the hinting mechanism that Paolo introduced
and it handles the same cases.
Adding support for FIB rules and multipath is a bit more complicated but
also possible. I am willing to keep working on this patch to meet the
remaining cases including IPv6.

Thanks,
Leone