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

Re: [ovs-discuss] Running ovs-appctl to trace packet

2018-02-02 Thread Ben Pfaff
On Fri, Feb 02, 2018 at 10:29:24AM -0500, Myra Sh wrote: > Hello, > > I want to use the same idea as the following link: > > https://techandtrains.com/2014/02/08/running-open-vswitch-in-network-namespace/ > > > But I still have a problem to trace packets. Is there any other way to > trace

[ovs-discuss] About ovs2.8.1 & meter & iperf

2018-02-02 Thread man
Hi, excuse me,when I used the ovs2.8.1 and implemented “ovs-ofctl -O OpenFlow13 add-meter s2 meter=1,kbps,band=type=drop,rate=1” the CLI output “OFPMMFC_INVALID_METER”. If I typed "ovs-vsctl set bridge s2 datapath_type=netdev" before, it was succeed. But if ovs was ”netdev“, the iperf

Re: [ovs-discuss] Running ovs-appctl to trace packet

2018-02-02 Thread Myra Sh
Hello, I want to use the same idea as the following link: https://techandtrains.com/2014/02/08/running-open-vswitch-in-network-namespace/ But I still have a problem to trace packets. Is there any other way to trace packets in OVS? Thanks On Thu, Feb 1, 2018 at 12:23 PM, Ben Pfaff