[ovs-dev] [PATCH v3 5/5] classifier: Use ccmaps for staged lookup indices.

Ben Pfaff blp at ovn.org
Fri May 6 21:23:01 UTC 2016


On Fri, Apr 22, 2016 at 08:00:24PM -0700, Jarno Rajahalme wrote:
> Use the new ccmap type instead of cmap for staged lookup indices to
> fix the problem with slow removal of rules with large number of
> duplicates.  This was problematic especially when many rules shared
> the same match in packet metadata (e.g., a port number, but nothing
> else), causing a large number of duplicates to be inserted into the
> staged lookup index.  ccmap only keeps the count of inserted (hash)
> values, so duplicates do not add any performance penalty.
> 
> Reported-by: Alok Kumar Maurya <alok-kumar.maurya at hpe.com>
> Signed-off-by: Jarno Rajahalme <jarno at ovn.org>

Thank you.

Acked-by: Ben Pfaff <blp at ovn.org>



More information about the dev mailing list