WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Xen 3.2 Bridge performance problem (debian lenny)

To: Alexander Pirsig <alex@xxxxxxxxxx>
Subject: Re: [Xen-users] Xen 3.2 Bridge performance problem (debian lenny)
From: Peter Booth <peter_booth@xxxxxx>
Date: Thu, 25 Jun 2009 12:02:48 -0400
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 25 Jun 2009 09:04:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A4382A9.2000507@xxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4A436CFE.1000206@xxxxxxxxxx> <4A4382A9.2000507@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Just out of interest, do you any domu vmstat mpstat or sar output from the problem time?

Sent from my iPhone

On Jun 25, 2009, at 9:59 AM, Alexander Pirsig <alex@xxxxxxxxxx> wrote:

Hi again,

sorry it was my fault the problem is I used (ethtool -K xenbr1 tx off) in my DOM0-network config which is bad on high loads ;( right config that works for me looks like that:

# eth1 -> intern 1
iface eth1 inet static
      up ifconfig eth1 0.0.0.0 promisc up

# eth1 -> xenbr1
auto xenbr1
iface xenbr1 inet manual
      bridge_ports eth1
      bridge_fd 1
      bridge_stp off
      bridge_hello 1
      post-up ethtool -K xenbr1 tx on
      down ifconfig xenbr1 down
      post-down brctl delbr xenbr1

The (ethtool -K xenbr1 tx off) needs to be inside of DOMu on postup

Sorry again,

Cheers,

Alex


Alexander Pirsig wrote:
Hello everybody,

at the moment we're have a strange problem during high load on our DOMUs Network services became unavailable for a short period connection time takes several seconds.

Will the service (tomcat) is still available from inside of the domU connections from DOM0 and even from other servers hangs.

If tried to desiable checksuming (ethtool -K eth0 tx off) on DOMUs interface

netstat output DOMU is as follows:

netstat -an|awk '/tcp/ {print $6}'|sort|uniq -c
=============================
  231 ESTABLISHED
  259 FIN_WAIT2
    1 LAST_ACK
    6 LISTEN
  340 TIME_WAIT


brctl show on DOM0:
=============
bridge name     bridge id               STP enabled     interfaces
eth0            8000.001ec9edee5e       no              peth0
                                                      vif135.0
                                                      vif144.0
xenbr1          8000.001ec9edee60       no              eth1
xenbr2          8000.0015178538c2       no              eth2
                                                      vif134.0
                                                      vif137.0
xenbr3          8000.0015178538c3       no              eth3
                                                      vif143.0
                                                      vif148.0


One of DOMUs configuration:
=====================
kernel  = '/boot/vmlinuz-2.6.26-2-xen-amd64'
ramdisk = '/boot/initrd.img-2.6.26-2-xen-amd64'
extra='console=hvc0'
memory  = '2400'

vcpus = '8'

#
#  Disk device(s).
#
root    = '/dev/sda1 ro'

disk = [ 'phy:system/tomcat03-disk,sda1,w', 'phy:system/tomcat03- swap,sda2,w' ]

#
#  Hostname
#
name    = 'tomcat03'


#
#  Networking
#
vif  = [ 'ip=192.168.0.98,mac=00:16:3E:41:2C:18,bridge=xenbr3' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'



How can I repeat?

Regards,

Alex


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>