Re: [ovs-dev] [PATCH v2] datapath: Move flow table rehashing to flow install.

2013-09-09 Thread Pravin Shelar
On Fri, Sep 6, 2013 at 4:42 PM, Jesse Gross wrote: > On Fri, Sep 6, 2013 at 2:54 PM, Pravin B Shelar wrote: >> Rehashing in ovs-workqueue can cause ovs-mutex lock contentions >> in case of heavy flow setups where both needs ovs-mutex. So by >> moving rehashing to flow-setup we can eliminate cont

Re: [ovs-dev] [PATCH v2] datapath: Move flow table rehashing to flow install.

2013-09-06 Thread Jesse Gross
On Fri, Sep 6, 2013 at 2:54 PM, Pravin B Shelar wrote: > Rehashing in ovs-workqueue can cause ovs-mutex lock contentions > in case of heavy flow setups where both needs ovs-mutex. So by > moving rehashing to flow-setup we can eliminate contention. > This also simplify ovs locking and reduces depe

[ovs-dev] [PATCH v2] datapath: Move flow table rehashing to flow install.

2013-09-06 Thread Pravin B Shelar
Rehashing in ovs-workqueue can cause ovs-mutex lock contentions in case of heavy flow setups where both needs ovs-mutex. So by moving rehashing to flow-setup we can eliminate contention. This also simplify ovs locking and reduces dependence on workqueue. Signed-off-by: Pravin B Shelar --- datap