Re: [ovs-dev] [PATCH 3/3] ofproto: Reduce taking rule references.

2014-04-24 Thread Jarno Rajahalme
Thanks for the review! The series pushed to master, Jarno On Apr 23, 2014, at 4:56 PM, Ethan Jackson wrote: > LGTM > > Acked-by: Ethan Jackson > > > On Wed, Apr 23, 2014 at 4:20 PM, Jarno Rajahalme > wrote: >> Only take reference to a looked up rule when needed. >> >> This reduces the

Re: [ovs-dev] [PATCH 3/3] ofproto: Reduce taking rule references.

2014-04-23 Thread Ethan Jackson
LGTM Acked-by: Ethan Jackson On Wed, Apr 23, 2014 at 4:20 PM, Jarno Rajahalme wrote: > Only take reference to a looked up rule when needed. > > This reduces the total CPU utilization of rule_ref/unref calls by 80%, > from 5% of total server CPU capacity to 1% in a netperf TCP_CRR > test stress

[ovs-dev] [PATCH 3/3] ofproto: Reduce taking rule references.

2014-04-23 Thread Jarno Rajahalme
Only take reference to a looked up rule when needed. This reduces the total CPU utilization of rule_ref/unref calls by 80%, from 5% of total server CPU capacity to 1% in a netperf TCP_CRR test stressing the userspace. Signed-off-by: Jarno Rajahalme --- ofproto/ofproto-dpif-xlate.c | 49 ++