Re: [ovs-discuss] Megaflows.

2014-11-26 Thread Krist van Besien
On Wed, 2014-11-26 at 19:01 -0200, Flavio Leitner wrote: > If you are using the openvswitch provided by the kernel, then > just tell the kernel version (uname -r). 2.6.32-431.29.2.el6.x86_64 This is a RHEL 6.6 system. Installing from sources is not really an option for the moment. Krist ___

[ovs-discuss] OVS bad performance on lower packet size

2014-11-26 Thread Rahul Arora
Hi Team, We are doing comparison of throughput and CPU consumption between OVS 2.3.0 and kernel bridge with different packet size. We are observing huge difference in performance. With frame size 64 and 128 bytes unidirectional traffic from port1 to port2 below are the numbers. *OVS 2.3.0 (Dual

Re: [ovs-discuss] Limit on num of flows in ovs 2.0

2014-11-26 Thread Chetan Bali
Hi Ben, Actually we wanted to test the max number of datapath flows here. And if all packets [ > 1250 ] are going to userspace , that is a concern for us. Can you tell us the place in code where this logic of flow addition takes place and from where this 1250 number comes? Thanks Chetan Bali

[ovs-discuss] In-band management

2014-11-26 Thread Luís Santos
Dear all, I have the following very basic topology: ovs1 ovs2 controller. According to the DESIGN.txt file (from the OvS source tree), it seems that the OvS switch is able to handle such scenario regarding the "in-band management" needs: " ... - Between Switch and Remote. This switch

[ovs-discuss] Building Open vSwitch Debian packages

2014-11-26 Thread joe salah
Hi, I have an ALIX 3d3 router running Linux kernel 3.10.11. I am following the instructions on INSTALL.debain to install OpenVswitch on my system, under "Building Open vSwitch Debian packages" : after executing command --> fakeroot debian/rules binary: after a long time of the package b

Re: [ovs-discuss] ifindex of datapath

2014-11-26 Thread Motonori Shindo
Ben, Oh I din’t come up with this idea. Thanks a lot! As to the current Engine ID and Engine Type, I agree with you. There must be a better way, or simply defaults to 0 regardless to the type of datapath as we can explicitly set these values anyway. Regards, — Motonori Shindo 2014/11/27 1:53

Re: [ovs-discuss] Megaflows.

2014-11-26 Thread Flavio Leitner
On Wed, Nov 26, 2014 at 10:47:02AM +, Krist van Besien wrote: > On Mon, 2014-11-24 at 09:21 -0800, Justin Pettit wrote: > > > On Nov 24, 2014, at 8:12 AM, Ben Pfaff wrote: > > > > > > Like I said, the degree to which megaflows are useful depends on your > > > version of OpenFlow and the conte

Re: [ovs-discuss] openvswitch multipath

2014-11-26 Thread Ben Pfaff
On Wed, Nov 26, 2014 at 10:13:19AM +0800, 张伟 wrote: > Sorry for another email. Yesterday from the function > flow_hash_symmetric_l4() I have realized that symmetric_l4 does not > contain udp port information. So I changed to use tcp and multiple > clients. The multiple clients should have different

Re: [ovs-discuss] Issue with Intel 82599 PF and OVS

2014-11-26 Thread Andrey Korolyov
Ok, there a suspicious non-zero and equal link reset count for both cases, can you elaborate on their nature please? Also it is worthy to re-add interface and check connectivity again, it does not mean that you`ll need to do same thing in production. ___

Re: [ovs-discuss] Limit on num of flows in ovs 2.0

2014-11-26 Thread Ben Pfaff
Since all of the packets are getting output, there's no actual problem. The flows in the datapath flow table are an implementation detail. It's not a concern that fewer than 2000 flows are getting added to the datapath. On Wed, Nov 26, 2014 at 09:17:51AM +, Chetan Bali wrote: > Hi Ben, > > I

Re: [ovs-discuss] Issue with Intel 82599 PF and OVS

2014-11-26 Thread Dmitry Nikishov
Yes, it is still visible. root@node-6:~# ovs-vsctl list interface eth0 #without VF _uuid : 16d4d75a-baf2-4613-baa5-c9a77d8720e2 admin_state : up bfd : {} bfd_status : {} cfm_fault : [] cfm_fault_status: [] cfm_flap_count : [] cfm_he

Re: [ovs-discuss] creating a mgmt0 port and not able to ping it?

2014-11-26 Thread Scott Lowe
Please see my responses inline, prefixed by [SL]. On Nov 26, 2014, at 9:08 AM, frank weed wrote: >> - You should not have an IP address assigned to enp0s3, which I'm assuming >> is the physical interface in this VirtualBox VM. And the link status for >> this interface is up, yes? > > Yes enp

Re: [ovs-discuss] re: where is the documentation about ovs CLI?

2014-11-26 Thread Scott Lowe
Please see my response below. On Nov 25, 2014, at 7:22 PM, Yinpeijun wrote: >>> Please see my response below. >>> >>> On Nov 25, 2014, at 2:09 AM, Yinpeijun wrote: >>> Hi, >>> >>> Now , I cann't get the ovs CLI pdf/html in the openvswitch.org website, so >>> there are not be restored after

Re: [ovs-discuss] ifindex of datapath

2014-11-26 Thread Ben Pfaff
On Wed, Nov 26, 2014 at 11:01:57PM +0900, Motonori Shindo wrote: > Is there any way to know the ifindex of datapath (ova-system) by using > ovs-vsctl/dpctl/appctl ? "cat /sys/class/net/ovs-system/ifindex" will show you, although I understand it is not one of the tools you mention. > I also notice

Re: [ovs-discuss] Issue with Intel 82599 PF and OVS

2014-11-26 Thread Andrey Korolyov
On Wed, Nov 26, 2014 at 6:54 PM, Dmitry Nikishov wrote: > I've just tried installing ovs-switch 2.3.0 and ovs-common 2.3.0, so > all the ovs packages versions are aligned. That didn't help: as long > as VFs are disabled, it works fine, but not when they are enabled. > > On Wed, Nov 26, 2014 at 4:2

Re: [ovs-discuss] ifindex of datapath

2014-11-26 Thread Motonori Shindo
Just in case the e-mail below didn’t get delivered, please let me resend it. 2014/11/26 23:01、Motonori Shindo のメール: > Hi, > > Is there any way to know the ifindex of datapath (ova-system) by using > ovs-vsctl/dpctl/appctl ? > > As ifindex of datapath is set to both NetFlow Engine ID and Eng

Re: [ovs-discuss] Issue with Intel 82599 PF and OVS

2014-11-26 Thread Dmitry Nikishov
I've just tried installing ovs-switch 2.3.0 and ovs-common 2.3.0, so all the ovs packages versions are aligned. That didn't help: as long as VFs are disabled, it works fine, but not when they are enabled. On Wed, Nov 26, 2014 at 4:27 PM, Andrey Korolyov wrote: > On Wed, Nov 26, 2014 at 3:17 PM, D

Re: [ovs-discuss] mask expected for non-Ethernet II frame

2014-11-26 Thread Huang Yangchao
could anybody give me some suggestion,thx 2014年11月25日 下午1:26于 "Huang Yangchao" 写道: > hi dear all: > > I use openvswitch version 2.1.3 in openstack, there are some error logs > confused me, as shown below > > ---## > Nov 24 15:15:50 o

[ovs-discuss] ifindex of datapath

2014-11-26 Thread Motonori Shindo
Hi, Is there any way to know the ifindex of datapath (ova-system) by using ovs-vsctl/dpctl/appctl ? As ifindex of datapath is set to both NetFlow Engine ID and Engine Type by default, it would be nice to have a way to know what ifindex is assigned to the datapath. I also noticed that switch

Re: [ovs-discuss] Issue with Intel 82599 PF and OVS

2014-11-26 Thread Andrey Korolyov
On Wed, Nov 26, 2014 at 3:17 PM, Dmitry Nikishov wrote: > Hello all. > > I'm trying to get OVS working with Intel 82599 and SR-IOV. > > Basically what I currently have is an Ubuntu 12.04 with custom kernel > (3.14.23) and Intel 82599 NIC (eth0) and OVS 1.10 installed. There is > also openvswitch-d

[ovs-discuss] Issue with Intel 82599 PF and OVS

2014-11-26 Thread Dmitry Nikishov
Hello all. I'm trying to get OVS working with Intel 82599 and SR-IOV. Basically what I currently have is an Ubuntu 12.04 with custom kernel (3.14.23) and Intel 82599 NIC (eth0) and OVS 1.10 installed. There is also openvswitch-datapath-dkms 2.3.0 which was built for 3.14.23. There is a br-eth0 b

Re: [ovs-discuss] Megaflows.

2014-11-26 Thread Krist van Besien
On Mon, 2014-11-24 at 09:21 -0800, Justin Pettit wrote: > > On Nov 24, 2014, at 8:12 AM, Ben Pfaff wrote: > > > > Like I said, the degree to which megaflows are useful depends on your > > version of OpenFlow and the contents of your flow tables. What are > > they? > > Also, as you mentioned, th

Re: [ovs-discuss] Limit on num of flows in ovs 2.0

2014-11-26 Thread Chetan Bali
Hi Ben, I am adding 2000 flows and sending traffic for all the 2000 flows. When 1 packet per flow is send ,I am getting all the 2000 packets at the output interface. From the logs,I can see that 2000 flows are getting added at the ovs, but the problem is that ovs is sending add flow request t