Re: [ovs-discuss] [OVN] egress ACLs on Port Groups seem broken

2018-06-18 Thread Han Zhou
On Mon, Jun 18, 2018 at 1:43 PM, Daniel Alvarez Sanchez wrote: > > Hi all, > > I'm writing the code to implement the port groups in networking-ovn (the OpenStack integration project with OVN). I found out that when a boot a VM, looks like the egress traffic (from VM) is not working properly. The

Re: [ovs-discuss] Incremental perf results

2018-06-05 Thread Han Zhou
On Tue, Jun 5, 2018 at 12:00 PM, Mark Michelson wrote: > On 06/05/2018 01:02 PM, Mark Michelson wrote: > >> On 06/05/2018 12:40 PM, Han Zhou wrote: >> >>> >>> >>> On Fri, May 18, 2018 at 2:03 PM, Han Zhou >> zhou...@gmail.com>>

Re: [ovs-discuss] Incremental perf results

2018-06-05 Thread Han Zhou
On Fri, May 18, 2018 at 2:03 PM, Han Zhou wrote: > Hi Mark, > > Thank you so much for sharing this data. Please see my comments inline. > > On Fri, May 18, 2018 at 1:31 PM, Mark Michelson > wrote: > >> Hi Han, I finally did some tests and looked at the CPU usage be

Re: [ovs-discuss] Incremental perf results

2018-05-18 Thread Han Zhou
tentially zero in on what to target next. > I am not sure if there is any other *big* bottlenecks, but address-set/port-group and ofctrl_put() improvement are surely needed :) The latest patch I provided is from my ip9 branch, which is rebased on master this week, with some code refactors. Feel fre

Re: [ovs-discuss] Question to OVN DB pacemaker script

2018-05-11 Thread Han Zhou
ey=db:OVN_Southbound,SSL,private_key > --certificate=db:OVN_Southbound,SSL,certificate > --ca-cert=db:OVN_Southbound,SSL,ca_cert > --ssl-protocols=db:OVN_Southbound,SSL,ssl_protocols > --ssl-ciphers=db:OVN_Southbound,SSL,ssl_ciphers > --remote=ptcp:6642:0.0.0.0 --sync-from=tcp:192.0.2

Re: [ovs-discuss] Incremental perf results

2018-05-11 Thread Han Zhou
On Fri, May 11, 2018 at 7:58 AM, Mark Michelson <mmich...@redhat.com> wrote: > On 05/10/2018 08:33 PM, Han Zhou wrote: > >> >> >> On Wed, May 9, 2018 at 12:21 PM, Mark Michelson <mmich...@redhat.com >> <mailto:mmich...@redhat.com>> wrote: >&g

Re: [ovs-discuss] Incremental perf results

2018-05-10 Thread Han Zhou
On Wed, May 9, 2018 at 12:21 PM, Mark Michelson <mmich...@redhat.com> wrote: > On 05/07/2018 08:29 AM, Mark Michelson wrote: > >> On 05/04/2018 04:15 PM, Han Zhou wrote: >> >>> >>> >>> On Thu, May 3, 2018 at 10:49 AM, Mark Michelson <mmich

Re: [ovs-discuss] Question to OVN DB pacemaker script

2018-05-10 Thread Han Zhou
>> >> Full list of resources: >> >> Master/Slave Set: ovndb_servers-master [ovndb_servers] >> Masters: [ test-pace2-2365308 ] >> Stopped: [ test-pace1-2365293 ] >> >> >> # ovn-nbctl --db=tcp:10.169.129.33:6641 ls-add test444 &

Re: [ovs-discuss] Question to OVN DB pacemaker script

2018-05-09 Thread Han Zhou
On Wed, May 9, 2018 at 11:51 AM, Numan Siddique <nusid...@redhat.com> wrote: > > > On Thu, May 10, 2018 at 12:15 AM, Han Zhou <zhou...@gmail.com> wrote: > >> Thanks Ali for the quick patch. Please see my comments inline. >> >> On Wed, May 9, 2018 at

Re: [ovs-discuss] Question to OVN DB pacemaker script

2018-05-09 Thread Han Zhou
Thanks Ali for the quick patch. Please see my comments inline. On Wed, May 9, 2018 at 9:30 AM, aginwala wrote: > > Thanks Han and Numan for the clarity to help sort it out. > > For making vip work with using LB in my two node setup, I had changed below code to skip setting

Re: [ovs-discuss] Question to OVN DB pacemaker script

2018-05-09 Thread Han Zhou
On Wed, May 9, 2018 at 9:02 AM, Numan Siddique <nusid...@redhat.com> wrote: > > > On Wed, May 9, 2018 at 9:02 PM, Han Zhou <zhou...@gmail.com> wrote: > >> Hi Numan, >> >> Thanks you so much for the detailed answer! Please see my comments inline. &

Re: [ovs-discuss] Question to OVN DB pacemaker script

2018-05-09 Thread Han Zhou
Hi Numan, Thanks you so much for the detailed answer! Please see my comments inline. On Wed, May 9, 2018 at 7:41 AM, Numan Siddique <nusid...@redhat.com> wrote: > Hi Han, > > Please see below for inline comments > > On Wed, May 9, 2018 at 5:17 AM, Han Zhou <zhou...@g

[ovs-discuss] Question to OVN DB pacemaker script

2018-05-08 Thread Han Zhou
Hi Babu/Numan, I have a question regarding OVN pacemaker OCF script. I see in the script MASTER_IP is used to start the active DB and standby DBs will use that IP to sync from. In the Documentation/topics/integration.rst it is also mentioned: `master_ip` is the IP address on which the active

Re: [ovs-discuss] Incremental perf results

2018-05-04 Thread Han Zhou
On Thu, May 3, 2018 at 10:49 AM, Mark Michelson wrote: > On 05/03/2018 12:58 PM, Mark Michelson wrote: > >> Hi Han, >> >> (cc'ed ovs-discuss) >> >> I have some test results here for your incremental branch[0]. >> >> Browbeat was the test orchestrator for the test, and it

Re: [ovs-discuss] OVN scalability?

2018-04-23 Thread Han Zhou
On Mon, Apr 23, 2018 at 12:21 AM, Wei Li <li...@anbutu.com> wrote: > > Hi Han, > > > On 04/19/2018 06:07 AM, Han Zhou wrote: > > On Wed, Apr 18, 2018 at 1:41 PM, Mike Spreitzer <mspre...@us.ibm.com> wrote: > >> How big a system can OVN manage? I am t

[ovs-discuss] Could be a bug: extremely long latency for ovn-controller to get SB update in scale test

2018-04-19 Thread Han Zhou
While working on ovn-controller incremental processing, I was testing the end-to-end latency and comparing with master. I found the latency with master branch is extremely long while changing the way of testing makes it much shorter. The master branch was at commit 593e93e5f (ovsdb clustering was

Re: [ovs-discuss] OVN scalability?

2018-04-18 Thread Han Zhou
On Wed, Apr 18, 2018 at 1:41 PM, Mike Spreitzer wrote: > > How big a system can OVN manage? I am told some local experimenters did > some tests about two years ago, and ran into CPU saturation at the south > DB at around a hundred hypervisors. > > Thanks, > Mike > In our

Re: [ovs-discuss] OVN vm on vlan network using geneve tunnel for external traffic

2018-04-13 Thread Han Zhou
On Fri, Apr 13, 2018 at 6:22 PM, Russell Bryant wrote: > > On Fri, Apr 13, 2018 at 9:01 PM, Russell Bryant wrote: > > On Fri, Apr 13, 2018 at 5:27 PM, Ben Pfaff wrote: > >> On Wed, Apr 11, 2018 at 07:44:25PM +0530, Anil Venkata wrote: > >>> vm

Re: [ovs-discuss] raft ovsdb clustering

2018-03-22 Thread Han Zhou
complete now, I will populate the same in scale test > env and see how it behaves. > > @Numan: We can try the same with networking-ovn integration and see if we > find anything weird there too. Not sure if you have any exclusive findings > for this case. > > Let me know if some

Re: [ovs-discuss] raft ovsdb clustering

2018-03-21 Thread Han Zhou
is down, all the active/standby northd nodes have to be updated > to new node from the cluster. But will dig in more to see what else I can > find. > > @Ben: Any suggestions further? > > > Regards, > > On Wed, Mar 21, 2018 at 10:22 AM, Han Zhou <zhou...@gmail.com> wrot

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-28 Thread Han Zhou
On Mon, Feb 26, 2018 at 12:05 PM, Ben Pfaff <b...@ovn.org> wrote: > > On Fri, Feb 23, 2018 at 03:51:28PM -0800, Han Zhou wrote: > > On Fri, Feb 23, 2018 at 2:17 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > > > On Tue, Feb 20, 2018 at 08:56:42AM -0800, Ha

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-23 Thread Han Zhou
On Fri, Feb 23, 2018 at 2:17 PM, Ben Pfaff <b...@ovn.org> wrote: > > On Tue, Feb 20, 2018 at 08:56:42AM -0800, Han Zhou wrote: > > On Tue, Feb 20, 2018 at 8:15 AM, Ben Pfaff <b...@ovn.org> wrote: > > > > > > On Mon, Feb 19, 2018 at 11:33:11AM +0100, Dan

Re: [ovs-discuss] ovs-vswitchd 100% CPU in OVN scale test

2018-02-22 Thread Han Zhou
> Hi Han, > > If you investigate the patch you referenced, it's fairly small. It adds an extra strcmp() call and an extra call to ofproto_port_open_type(). It's most likely the extra call to ofproto_port_open_type() is causing the extra CPU usage. Most of the processing done by calling it a second

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-20 Thread Han Zhou
On Tue, Feb 20, 2018 at 8:15 AM, Ben Pfaff wrote: > > On Mon, Feb 19, 2018 at 11:33:11AM +0100, Daniel Alvarez Sanchez wrote: > > @Han, I can try rebase the patch if you want but that was > > basically renaming the Address_Set table and from Ben's > > comment, it may be better to

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-16 Thread Han Zhou
Hi Daniel, Thanks for the detailed profiling! On Fri, Feb 16, 2018 at 6:50 AM, Daniel Alvarez Sanchez wrote: > > About the duplicated processing of the update2 messages, I've verified that those are not always present. I've isolated the scenario further and did tcpdump and

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-15 Thread Han Zhou
On Thu, Feb 15, 2018 at 12:56 PM, Ben Pfaff wrote: > > On Thu, Feb 15, 2018 at 06:50:15PM +, Lucas Alvares Gomes wrote: > > Hi all, > > > > We currently have a problem with Address_Set in networking-ovn (and > > potentially other technologies using OVN as backend) which *maybe*

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Han Zhou
On Wed, Feb 14, 2018 at 3:39 PM, Ben Pfaff <b...@ovn.org> wrote: > > On Wed, Feb 14, 2018 at 03:29:34PM -0800, Han Zhou wrote: > > On Wed, Feb 14, 2018 at 3:08 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > > > On Wed, Feb 14, 2018 at 02:25:56PM -0800, Ha

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Han Zhou
On Wed, Feb 14, 2018 at 3:08 PM, Ben Pfaff <b...@ovn.org> wrote: > > On Wed, Feb 14, 2018 at 02:25:56PM -0800, Han Zhou wrote: > > On Wed, Feb 14, 2018 at 1:40 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > > > On Wed, Feb 14, 2018 at 12:34:19PM

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Han Zhou
On Wed, Feb 14, 2018 at 1:40 PM, Ben Pfaff <b...@ovn.org> wrote: > > On Wed, Feb 14, 2018 at 12:34:19PM -0800, Han Zhou wrote: > > I remember there was a patch for ACL group in OVN, so that instead of R*P > > rows we will have only R + P rows, but didn't see it went throu

Re: [ovs-discuss] OpenStack profiling with networking-ovn - port creation is slow

2018-02-14 Thread Han Zhou
On Wed, Feb 14, 2018 at 9:45 AM, Ben Pfaff wrote: > > On Wed, Feb 14, 2018 at 11:27:11AM +0100, Daniel Alvarez Sanchez wrote: > > Thanks for your inputs. I need to look more carefully into the patch you > > submitted but it looks like, at least, we'll be reducing the number of > >

[ovs-discuss] ovs-vswitchd 100% CPU in OVN scale test

2018-02-07 Thread Han Zhou
When doing scale testing for OVN (using https://github.com/openvswitch/ovn-scale-test), we had some interesting findings, and need some help here. We ran the test "create and bind lports" against branch 2.9 and branch 2.6, and we found that 2.6 was must faster. With some analysis, we found out

Re: [ovs-discuss] Idea of an ovn native "rally"

2017-12-01 Thread Han Zhou
arger scale by running many instances of OVN on a > single host using ovs-sandbox (or at least a similar technique).​ > > ​I've added Han Zhou and Lei Huang​, where the project originally came > from. > > > >> >> Best regards, >> Miguel Ángel. >> >> >

[ovs-discuss] OVN debian packaging problem

2017-10-09 Thread Han Zhou
I think libovn should be put in package ovn-common, but it is put in openvswitch-common. Is there any specific reason? # dpkg -S /usr/lib/libovn-2.so.7.0.0 openvswitch-common: /usr/lib/libovn-2.so.7.0.0 ___ discuss mailing list disc...@openvswitch.org

Re: [ovs-discuss] Question about order of OVSDB transaction commit response v.s. update notification

2017-03-08 Thread Han Zhou
On Wed, Mar 8, 2017 at 3:36 PM, Ben Pfaff <b...@ovn.org> wrote: > > On Wed, Mar 08, 2017 at 03:25:47PM -0800, Han Zhou wrote: > > I checked the current python OVSDB IDL implementation, and found out that > > the way local cache is handled during transaction commit is lik

[ovs-discuss] Official ovsdb client for Go

2016-12-20 Thread Han Zhou
Hi, Is there any plan for an official OVSDB client for Go? Google search points to https://github.com/socketplane/libovsdb, which seems to be inactive for a long time. It supports basic OVSDB operations, but not full-fledged like the python/C IDL implementation. It is usable for sure, but you

<    1   2   3