Re: [ovs-dev] [PATCH v3] datapath: Use percpu allocator for flow-stats.

2013-12-05 Thread Pravin Shelar
Pushed to master. Thanks. On Thu, Dec 5, 2013 at 3:55 PM, Jesse Gross wrote: > On Thu, Dec 5, 2013 at 3:50 PM, Pravin B Shelar wrote: >> Use percpu allocator for stats due to objection to stats array. >> But percpu allocator is not designed for high churn allocation/ >> deallcation. so we need

Re: [ovs-dev] [PATCH v3] datapath: Use percpu allocator for flow-stats.

2013-12-05 Thread Jesse Gross
On Thu, Dec 5, 2013 at 3:50 PM, Pravin B Shelar wrote: > Use percpu allocator for stats due to objection to stats array. > But percpu allocator is not designed for high churn allocation/ > deallcation. so we need to avoid allocating percpu flow for > short lived flows. One cheaper way to detect fl

[ovs-dev] [PATCH v3] datapath: Use percpu allocator for flow-stats.

2013-12-05 Thread Pravin B Shelar
Use percpu allocator for stats due to objection to stats array. But percpu allocator is not designed for high churn allocation/ deallcation. so we need to avoid allocating percpu flow for short lived flows. One cheaper way to detect flow is by checking if 5-tuple used in RSS are masked or not. if a