[ovs-dev] [PATCH ovn v3 2/2] lflow-cache: Auto trim when cache size is reduced significantly.

Dumitru Ceara dceara at redhat.com
Mon Jun 21 09:57:14 UTC 2021

On 6/20/21 9:49 AM, Mark Gray wrote:
>> Instead, we now automatically trim memory every time the lflow cache
>> utilization decreases by 50%, with a threshold of at least
>> lflow-cache-trim-limit (10000) elements in the cache.
>> The percentage of the high watermark under which memory is trimmed
>> automatically as well as the lflow-cache minimum number of elements
>> above which trimming is performed are configurable through OVS external
>> IDs.
>> [0] https://sourceware.org/bugzilla/show_bug.cgi?id=14827
>> Reported-at: https://bugzilla.redhat.com/1967882
>> Signed-off-by: Dumitru Ceara <dceara at redhat.com>
> There's a small typo below in the test code. Please *don't* update
> unless you need to do a v4 as it wouldnt be worth the effort otherwise.
> Acked-by: Mark D. Gray <mark.d.gray at redhat.com>

Thanks for the review!  I assume maintainers can fix the typo when the
patch is pushed if there are no other issues.


More information about the dev mailing list