Re: [ovs-dev] [PATCH] ofproto: Fix resource usage explosion due to removal of large number of flows.

2021-11-30 Thread Ilya Maximets
On 11/23/21 12:13, Vladislav Odintsov wrote: > Thanks for the patch! > > Tested-by: Vladislav Odintsov mailto:odiv...@gmail.com>> Thanks! Applied and backported down to 2.13. Best regards, Ilya Maximets. > > Regards, > Vladislav Odintsov > >> On 22 Nov 2021, at 18:23, Ilya Maximets >

Re: [ovs-dev] [PATCH] ofproto: Fix resource usage explosion due to removal of large number of flows.

2021-11-23 Thread Vladislav Odintsov
Thanks for the patch! Tested-by: Vladislav Odintsov Regards, Vladislav Odintsov > On 22 Nov 2021, at 18:23, Ilya Maximets wrote: > > While removing flows, removal itself is deferred, so classifier changes > performed already from the RCU thread. This way every deferred removal > triggers

[ovs-dev] [PATCH] ofproto: Fix resource usage explosion due to removal of large number of flows.

2021-11-22 Thread Ilya Maximets
While removing flows, removal itself is deferred, so classifier changes performed already from the RCU thread. This way every deferred removal triggers classifier change and reallocation of a pvector. Freeing of old version of a pvector is postponed. Since all this is happening from an RCU