Re: [ovs-dev] [PATCH v2] lib/util.c: Optimise bitwise_rscan.

2016-03-23 Thread Ben Pfaff
On Sun, Mar 20, 2016 at 12:08:48AM -0700, Han Zhou wrote: > bitwise_rscan() is found to be hot spot in ovn-controller during OVN > scalability tests. It is triggered by lflow_run() when processing > lflow updates from SB ovsdb. The perf result shows: > > + 35.90% ovn-controller ovn-controller

Re: [ovs-dev] [PATCH v2] lib/util.c: Optimise bitwise_rscan.

2016-03-20 Thread Han Zhou
On Sun, Mar 20, 2016 at 9:41 AM, William Tu wrote: > > Hi Han Zhou, > > Just curious and not related to the bitwise_rscan(). > Do you get a chance to know what this kernel symbol is? Here is the report with kernel symbols resolved. --- before optimization --- + 36.27% ovn-controller ovn-contr

Re: [ovs-dev] [PATCH v2] lib/util.c: Optimise bitwise_rscan.

2016-03-20 Thread William Tu
Hi Han Zhou, Just curious and not related to the bitwise_rscan(). Do you get a chance to know what this kernel symbol is? > > + 11.34% ovn-controller [kernel.kallsyms] [k] 0x8104f45a > you can try "cat /proc/kallsyms" and see where it locates. > + 8.15% ovn-controller libc-2.1