Re: [ovs-discuss] [OVN][RFC] ovn-northd simple optimization converting uuid from string

2018-02-05 Thread Ben Pfaff
On Sat, Feb 03, 2018 at 09:10:16AM +0100, Daniel Alvarez Sanchez wrote: > Thanks Ben, > > > On Sat, Feb 3, 2018 at 12:16 AM, Ben Pfaff wrote: > > > Nice finding! > > > > I don't think it's necessary to inline this into the header file to get > > the speedup, since its caller

Re: [ovs-discuss] [OVN][RFC] ovn-northd simple optimization converting uuid from string

2018-02-03 Thread Daniel Alvarez Sanchez
Thanks Ben, On Sat, Feb 3, 2018 at 12:16 AM, Ben Pfaff wrote: > Nice finding! > > I don't think it's necessary to inline this into the header file to get > the speedup, since its caller along the uuid_from_string() call chain is > in the same file as hexit_value(). > > I did this

Re: [ovs-discuss] [OVN][RFC] ovn-northd simple optimization converting uuid from string

2018-02-02 Thread Ben Pfaff
Nice finding! I don't think it's necessary to inline this into the header file to get the speedup, since its caller along the uuid_from_string() call chain is in the same file as hexit_value(). I sent out a patch that does something similar: https://patchwork.ozlabs.org/patch/868826/ On

[ovs-discuss] [OVN][RFC] ovn-northd simple optimization converting uuid from string

2018-02-02 Thread Daniel Alvarez Sanchez
Hi folks, While running rally in OpenStack we found out that ovn-northd was at 100% CPU most of the time. It doesn't have to be necessarily a problem but I wanted to do a simple profiling by running a rally task which creates a network (Logical Switch) and creates 6 ports on it, repeating the