[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • To: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Alexander Pirsig <alex@xxxxxxxxxx>
  • Date: Thu, 25 Jun 2009 15:59:05 +0200
  • Delivery-date: Thu, 25 Jun 2009 07:00:15 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.