Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Ben Pfaff
Thanks so much. I think I see the real problem now. Could you re-enable the call to bond_wait(br), and then make a different change? Here it is: diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 476073a..4c9b019 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -141,7 +141,7 @@ st

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Luiz Henrique Ozaki
Perfect !! Commenting out the bond_wait(br) solved this high CPU. If you need more debuging and testing, be my guest. Regards, On Wed, Aug 25, 2010 at 7:43 PM, Ben Pfaff wrote: > There's nothing unusual there. Hmm. > > If you're willing to try some experiments, maybe we can learn more. > > F

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Ben Pfaff
There's nothing unusual there. Hmm. If you're willing to try some experiments, maybe we can learn more. First, try commenting out the call to "bond_wait(br)" in bridge_wait() in vswitchd/bridge.c. Does that have any effect? If that has no effect, then try commenting out the call to poll_timer_

Re: [ovs-discuss] Working in Citrix XenServer 5.6.0

2010-08-25 Thread Rob Hoes
Note that XenServer 5.6 does not have the openvswitch enabled by default; it uses linux bridging. That might explain what you are seeing. To enable the openvswitch in XenServer, you can do something like this: $ echo openvswitch > /etc/xensource/network.conf && chkconfig openvswitch on && reboot

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Luiz Henrique Ozaki
# ovs-appctl bond/show bond0 updelay: 200 ms downdelay: 0 ms next rebalance: 8481 ms slave eth3: enabled active slave hash 218: 5 kB load 00:23:7d:e8:2a:00 slave eth2: enabled # ovs-appctl bond/show bond1 updelay: 200 ms downdelay: 0 ms next rebalance: 9737 ms slave

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Luiz Henrique Ozaki
Here goes: May 16 21:56:39|14629|poll_loop|DBG|0-ms timeout: 0x805bac1(bridge_wait) 0x8063da9(main) 0xb7470e9c May 16 21:56:39|14630|poll_loop|DBG|0-ms timeout: 0x805bac1(bridge_wait) 0x8063da9(main) 0xb7470e9c May 16 21:56:39|14631|poll_loop|DBG|0-ms timeout: 0x805bac1(bridge_wait) 0x8063da9(main)

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Ben Pfaff
On Wed, Aug 25, 2010 at 05:59:35PM -0300, Luiz Henrique Ozaki wrote: > May 16 21:56:39|14629|poll_loop|DBG|0-ms timeout: 0x805bac1(bridge_wait) > 0x8063da9(main) 0xb7470e9c Thanks. It's definitely part of the bridge code then. What does "ovs-appctl bond/show ", with replaced by the name of the

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Ben Pfaff
On Wed, Aug 25, 2010 at 01:03:16PM -0700, Ben Pfaff wrote: > On Wed, Aug 25, 2010 at 02:53:05PM -0300, Luiz Henrique Ozaki wrote: > > I'm trying to create a bond interface with OpenvSwitch in a XenServer 5.6 > > and I'm getting a high load CPU for the ovs-vswitchd, but It's working > > apparently.

Re: [ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Ben Pfaff
On Wed, Aug 25, 2010 at 02:53:05PM -0300, Luiz Henrique Ozaki wrote: > I'm trying to create a bond interface with OpenvSwitch in a XenServer 5.6 > and I'm getting a high load CPU for the ovs-vswitchd, but It's working > apparently. Hi Luiz. This shouldn't happen. When the vswitch is in this high

[ovs-discuss] OpenvSwitch 1.0.1 on XenServer 5.6 with Bonding

2010-08-25 Thread Luiz Henrique Ozaki
Hi, I'm trying to create a bond interface with OpenvSwitch in a XenServer 5.6 and I'm getting a high load CPU for the ovs-vswitchd, but It's working apparently. Doing a strace in the process I'm getting: ioctl(24, SIOCGIFFLAGS, {ifr_name="bond0", ifr_flags=IFF_UP|IFF_BROADCAST|IFF_RUNNING|IF

Re: [ovs-discuss] Working in Citrix XenServer 5.6.0

2010-08-25 Thread Ben Pfaff
On Wed, Aug 25, 2010 at 08:38:10AM +0800, 楊皓中(Mulder Yang) wrote: > Why Xen or ovs can not see the networks that created by another > software? > > I mean Xen can not see the bridge that ovs created or ovs can not see > the vif that Xen created? I do not understand your question. What did you do

Re: [ovs-discuss] Problems with SPAN

2010-08-25 Thread Ben Pfaff
On Tue, Aug 24, 2010 at 01:28:58PM +0200, Michael Stegk wrote: > I have installed the openvswitch kernelmodule on debian with xen . > I have Problems setting up a mirror Port on OpenvSwitch. > Here is what i try: > > $ovs-vsctl list port > ... > _uuid : a7fd3df2-d7bf-4a92-8133-22d9e

Re: [ovs-discuss] ovs-dpctl dump-flows vs. ovs-ofctl dump-flows

2010-08-25 Thread Ben Pfaff
On Wed, Aug 25, 2010 at 09:27:40AM +0100, Richard Mortier wrote: > this may be a FAQ in which case i apologise (i have done some googling > but couldn't find an answer). here goes: > > what's the difference between "ovs-ofctl dump-flows dp0" and > "ovs-dpctl dump-flows dp0"? > > ...where dp0 is

[ovs-discuss] ovs-dpctl dump-flows vs. ovs-ofctl dump-flows

2010-08-25 Thread Richard Mortier
hi; this may be a FAQ in which case i apologise (i have done some googling but couldn't find an answer). here goes: what's the difference between "ovs-ofctl dump-flows dp0" and "ovs-dpctl dump-flows dp0"? ...where dp0 is a datapath with a single interface, eth0, added to it. they appear to giv