Re: [ovs-discuss] do the openvswitch support hybrid port ? if yes, how to config the hybrid port ?

2013-03-06 Thread 陈漂评
I have another question,i don't know the field trunks of the table port really mean? 于 2013年03月07日 13:58, 陈漂评 写道: > hello, may i ask you a question? > Q:do the openvswitch support hybrid port ? if yes,how to config the > hybrid port ? -- 祝工作愉快 陈漂评 __

[ovs-discuss] do the openvswitch support hybrid port ? if yes, how to config the hybrid port ?

2013-03-06 Thread 陈漂评
hello, may i ask you a question? Q:do the openvswitch support hybrid port ? if yes,how to config the hybrid port ? -- 祝工作愉快 陈漂评 ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] Openflow Forwarding Groups Design

2013-03-06 Thread Casey Barker
I'm working on an implementation of forwarding groups based on the master branch of OvS. I'm hoping to upstream this code, so I want to do it in a sensible way. I appreciate how the new 'ofpact' structures isolate the datapath from the Openflow wire protocol, but they pose a design question for th

Re: [ovs-discuss] Why the flow entry with dl_vlan doesn't work in fake bridge when the VMs are in the same host?

2013-03-06 Thread Kris zhang
I understood now, thanks a lot, Ben. On Wed, Mar 6, 2013 at 11:40 PM, Ben Pfaff wrote: > On Wed, Mar 06, 2013 at 07:20:46PM +0800, Kris zhang wrote: > > Thanks a lot, Ben, i know how to do now: use mod_vlan_vid to add tag into > > the packet, and then resubmit. > > > > i still have another two

Re: [ovs-discuss] Openvswitch performance limitation

2013-03-06 Thread Justin Pettit
On Mar 6, 2013, at 4:13 PM, Tmusic wrote: > What are the possible values for datapath_type? Can't seem to find more > information about that option... It's documented in the ovs-vswitchd.conf.db man page: http://openvswitch.org/ovs-vswitchd.conf.db.5.pdf Here's the relevant part:

Re: [ovs-discuss] Openvswitch performance limitation

2013-03-06 Thread Tmusic
Think I found it :) I first used ovs in userspace and then changed my script to use the kernel module, however "ovs-vsctl set bridge br0 datapath_type=netdev" was still called. I didn't notice the difference in the INSTALL files. Now I get 850Mbps and more at low CPU usage. Sorry for bothering you

Re: [ovs-discuss] Openvswitch performance limitation

2013-03-06 Thread Justin Pettit
On Mar 6, 2013, at 1:25 PM, Tmusic wrote: > I checked /sbin/lsmod and openvswitch is loaded but not used! Maybe that's an > issue? Do you have to add a specific argument to use the kernel module for > the bridge? I think you're just looking at what other kernel module depends on openvswitch,

Re: [ovs-discuss] Openvswitch performance limitation

2013-03-06 Thread Tmusic
Hi, Looking at the RTT from the ping command it seems like it's not going through the controller (First packet latency 15ms, after that 0.2ms, so it seems flows are installed) I tried with a POX example application (l2_learning), but same issue. This is the flowdump (fresh reboot, ping test betwe

Re: [ovs-discuss] Openvswitch performance limitation

2013-03-06 Thread Justin Pettit
Are you sure the traffic isn't being sent to the controller? Depending on your controller, that could slows things down significantly. I don't think you mentioned what version of OVS you're using. What do you see from "ovs-dpctl show", "ovs-dpctl dump-flows ", and "ovs-ofctl dump-flows "? Ob

Re: [ovs-discuss] Openvswitch performance limitation

2013-03-06 Thread Tmusic
Hi, Thank you for the quick answer! I'm actually using it without VM's. It's an experiment with three "real" computers. One machine with ovs acting as switch, the other machines are connected to the ovs-machine, each on a separate nic. (controller runs at a fourth machine, but that's probably not

Re: [ovs-discuss] Openvswitch performance limitation

2013-03-06 Thread Gurucharan Shetty
On Wed, Mar 6, 2013 at 7:14 AM, Tmusic wrote: > Hi, > > I'm running ovs on Ubuntu 11.04 and noticed that it can process max. 200Mbps > (NIC's are gigabit). That is quite low. I have seen 9 Gbps on non-tunnel mode (on 10G NICs). You are sending traffic through VM or through the host? If the former,

Re: [ovs-discuss] Queue configuration

2013-03-06 Thread Ben Pfaff
On Tue, Mar 05, 2013 at 11:18:32PM -0800, Geetha S wrote: > I did try enqueue action of the OpenFlow and used the > ofp_queue_stats_request. I got this in the reply. > > DEBUG:misc.of_tutorial:QueueStatsReceived from 00-00-00-00-00-01: > [{'tx_bytes': 42, 'queue_id': 0, 'tx_packets': 1, 'port_no':

Re: [ovs-discuss] Why the flow entry with dl_vlan doesn't work in fake bridge when the VMs are in the same host?

2013-03-06 Thread Ben Pfaff
On Wed, Mar 06, 2013 at 07:20:46PM +0800, Kris zhang wrote: > Thanks a lot, Ben, i know how to do now: use mod_vlan_vid to add tag into > the packet, and then resubmit. > > i still have another two question: > 1) will the packet be dropped when reach the maximum depth of recursive > resubmit? Yes

[ovs-discuss] Openvswitch performance limitation

2013-03-06 Thread Tmusic
Hi, I'm running ovs on Ubuntu 11.04 and noticed that it can process max. 200Mbps (NIC's are gigabit). It's used as an openflow switch with POX as controller and about 10 flows are installed. ovs is running with kernel module. The CPU is a quadcore Intel Xeon running at 2.2Ghz and one of the cores