Question: No cache/hash support for qdisc and class

roopa roopa at cumulusnetworks.com
Thu Sep 17 10:42:45 PDT 2015


On 9/17/15, 8:05 AM, Andy DeWolfe wrote:
> Hi all, first time posting.
>
> Back in Nov 2012, Roopa Prabhu submitted patches to "Add hash support to libnl caches" and "adds keygen functions to link, neigh and route objects".
>
> Is there any reason why this was not ( or should not be ) extended to qdisc and class objects?
>
> I'm dealing with a tc model that has thousands of qdiscs and nl_cache_refill is taking 10+ seconds.  I've implemented my own keygen rountine for qdisc that drops that down to under 1 second, but I'm just curious why this functionality does not already exist.
I don't see any reason why it cannot be used. When I submitted these 
patches, we targeted only a few caches because those were the only ones 
we used heavily and were able to test it.

Glad to know that it is works well for qdiscs as well.



More information about the libnl mailing list