[ovs-discuss] 答复: [ovs-dev] there are many error logs when processing igmp packet

2020-08-04 Thread 王培辉
Thanks for your response, ben, I found these error logs will occur with hw-offload=true, This error will disappear when I disable hardware offload. It seems there is a bug processing igmp packet when hardware offload enabled. I'm not familiar with this code, Could you provide any clue how to deb

Re: [ovs-discuss] OVN scale

2020-08-04 Thread Tony Liu
Hi, Continue this thread with some updates. I finally got 4096 networks and 256 router created, 16 networks connecting to each router. All routers are set as external gateway. On underlay, those 256 gateway addresses on the provider network are reachable. Ping is steady. I launched 10 VMs on on

Re: [ovs-discuss] [OVN] no response to inactivity probe

2020-08-04 Thread Tony Liu
In that case, I can use set-connection to set one row. Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Tuesday, August 4, 2020 4:44 PM > To: Tony Liu > Cc: Numan Siddique ; Han Zhou ; ovs- > discuss ; ovs-dev > Subject: Re: [ovs-discuss] [OVN] no response to inactivity pro

Re: [ovs-discuss] [OVN] no response to inactivity probe

2020-08-04 Thread Han Zhou
On Tue, Aug 4, 2020 at 2:50 PM Tony Liu wrote: > Hi, > > Since I have 3 OVN DB nodes, should I add 3 rows in connection table > for the inactivity_probe? Or put 3 addresses into one row? > > "set-connection" set one row only, and there is no "add-connection". > How should I add 3 rows into the ta

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-04 Thread Tony Liu
Hi Han, Sounds good. I am looking forward to incremental-processing, and will go from there. BTW, it would be great if you could let me know how to set probe interval for 3-node cluster, here or in another thread. Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Tuesday, Au

Re: [ovs-discuss] [OVN] no response to inactivity probe

2020-08-04 Thread Tony Liu
Hi, Since I have 3 OVN DB nodes, should I add 3 rows in connection table for the inactivity_probe? Or put 3 addresses into one row? "set-connection" set one row only, and there is no "add-connection". How should I add 3 rows into the table connection? Thanks! Tony > -Original Message-

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-04 Thread Tony Liu
Hi Han, Thanks for clarifications! It's crystal clear. My concern, in general, is blocking. For onv-northd, or OVSDB client, (I assume all OVSDB clients are using the same library for connection, proble, etc.?) when handing current event, it won't be interrupted to handle any incoming event, righ

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-04 Thread Han Zhou
On Tue, Aug 4, 2020 at 11:40 AM Tony Liu wrote: > Inline... > > Thanks! > > Tony > > -Original Message- > > From: Han Zhou > > Sent: Tuesday, August 4, 2020 11:01 AM > > To: Numan Siddique ; Ben Pfaff ; Leonid > > Ryzhyk > > Cc: Tony Liu ; Han Zhou ; ovs- > > dev ; ovs-discuss > > Subj

Re: [ovs-discuss] [ovs-dev] [OVN] stale data complained by ovn-controller after db restore

2020-08-04 Thread Han Zhou
On Tue, Aug 4, 2020 at 11:31 AM Tony Liu wrote: > Is there any difference to restore DB on existing cluster vs. fresh > cluster, > in terms of performance? > > If I don't have to restore on fresh cluster, which is recommended? > > I would suggest to directly restore on top of existing cluster ins

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-04 Thread Tony Liu
Inline... Thanks! Tony > -Original Message- > From: Han Zhou > Sent: Tuesday, August 4, 2020 11:01 AM > To: Numan Siddique ; Ben Pfaff ; Leonid > Ryzhyk > Cc: Tony Liu ; Han Zhou ; ovs- > dev ; ovs-discuss > Subject: Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no > configura

Re: [ovs-discuss] [ovs-dev] [OVN] stale data complained by ovn-controller after db restore

2020-08-04 Thread Tony Liu
Is there any difference to restore DB on existing cluster vs. fresh cluster, in terms of performance? If I don't have to restore on fresh cluster, which is recommended? For now, since ovn-northd always recomputes the whole DB, I guess not much difference? With incremental-process, would restorin

Re: [ovs-discuss] [ovs-dev] [OVN] stale data complained by ovn-controller after db restore

2020-08-04 Thread Han Zhou
On Tue, Aug 4, 2020 at 10:30 AM Tony Liu wrote: > Hi, > > Here is how I restore OVN DB. > * Stop all ovn-nb-db, ovn-sb-db and ovn-northd services. > * Clean up all DB files. > * Start all DB services. Fresh ovn-nb-db and ovn-sb-db clusters are up and > running. > * Set DB election timer to 10s.

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-04 Thread Han Zhou
On Tue, Aug 4, 2020 at 12:38 AM Numan Siddique wrote: > > > On Tue, Aug 4, 2020 at 9:02 AM Tony Liu wrote: > >> The probe awakes recomputing? >> There is probe every 5 seconds. Without any connection up/down or >> failover, >> ovn-northd will recompute everything every 5 seconds, no matter what?

[ovs-discuss] [OVN] stale data complained by ovn-controller after db restore

2020-08-04 Thread Tony Liu
Hi, Here is how I restore OVN DB. * Stop all ovn-nb-db, ovn-sb-db and ovn-northd services. * Clean up all DB files. * Start all DB services. Fresh ovn-nb-db and ovn-sb-db clusters are up and running. * Set DB election timer to 10s. * Restore DB to ovn-nb-db by ovsdb-client. * Start all ovn-north

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-04 Thread Tony Liu
Thanks Numan for looking into it! Probe is for health check only, it's not supposed to trigger translation, even with incremental implementation. Translation should be triggered only when a ovn-northd becomes active. Tony > -Original Message- > From: Numan Siddique > Sent: Tuesday, Augu

Re: [ovs-discuss] [ovs-dev] there are many error logs when processing igmp packet

2020-08-04 Thread Ben Pfaff
On Tue, Aug 04, 2020 at 11:55:19AM +, Frank Wang(王培辉) wrote: > Hello, > > I found there are many error logs as follows in ovs-vswitchd.log: > Aug 4 18:48:03 node-170 ovs-vswitchd: > ovs|00100|odp_util(handler171)|ERR|internal error parsing flow key > recirc_id(0),dp_hash(0),skb_prior

Re: [ovs-discuss] Double free in recent kernels after memleak fix

2020-08-04 Thread Gregory Rose
On 8/3/2020 12:01 PM, Johan Knöös via discuss wrote: Hi Open vSwitch contributors, We have found openvswitch is causing double-freeing of memory. The issue was not present in kernel version 5.5.17 but is present in 5.6.14 and newer kernels. After reverting the RCU commits below for debugging,

[ovs-discuss] there are many error logs when processing igmp packet

2020-08-04 Thread 王培辉
Hello, I found there are many error logs as follows in ovs-vswitchd.log: Aug 4 18:48:03 node-170 ovs-vswitchd: ovs|00100|odp_util(handler171)|ERR|internal error parsing flow key recirc_id(0),dp_hash(0),skb_priority(0),in_port(5),skb_mark(0),ct_state(0),c t_zone(0),ct_label(0),eth(src=6c:

Re: [ovs-discuss] Double free in recent kernels after memleak fix

2020-08-04 Thread Tonghao Zhang
On Tue, Aug 4, 2020 at 3:02 AM Johan Knöös wrote: > > Hi Open vSwitch contributors, > > We have found openvswitch is causing double-freeing of memory. The > issue was not present in kernel version 5.5.17 but is present in > 5.6.14 and newer kernels. > > After reverting the RCU commits below for de

Re: [ovs-discuss] [OVN] ovn-northd takes much CPU when no configuration update

2020-08-04 Thread Numan Siddique
On Tue, Aug 4, 2020 at 9:02 AM Tony Liu wrote: > The probe awakes recomputing? > There is probe every 5 seconds. Without any connection up/down or failover, > ovn-northd will recompute everything every 5 seconds, no matter what? > Really? > > Anyways, I will increase the probe interval for now, s

Re: [ovs-discuss] [OVN] no response to inactivity probe

2020-08-04 Thread Numan Siddique
On Tue, Aug 4, 2020 at 9:12 AM Tony Liu wrote: > In my deployment, on each Neutron server, there are 13 Neutron server > processes. > I see 12 of them (monitor, maintenance, RPC, API) connect to both ovn-nb-db > and ovn-sb-db. With 3 Neutron server nodes, that's 36 OVSDB clients. > Is so many cli