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] Slow networking problem in dom0

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Slow networking problem in dom0
From: Mike Wright <mike.wright@xxxxxxxxxxxxxx>
Date: Fri, 29 Apr 2011 11:12:37 -0400
Delivery-date: Fri, 29 Apr 2011 08:13:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTik3PC7QUBHn2RnnqJ7-A+KXfO+efw@xxxxxxxxxxxxxx>
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: <BANLkTik3PC7QUBHn2RnnqJ7-A+KXfO+efw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc15 Thunderbird/3.1.10
On 04/29/2011 06:16 AM, Emil Christopher Melar wrote:
Hi! I have a sandy bridge H67 machine running Intel  i7 2600k.
I installed  build-linux-2.6-pvops_x86_64 (commit
75cc13f5aa29b4f3227d269ca165dfa8937c94fe).
It is running fine on my Ubuntu 10.10 Maverick, besides one thing: The
ethernet goes from 50 MB/sec to 500 k/sec over time!

Now my ethernet is dead slow and I have to restart the eth0 resulting
in breaking the domU networks.
The NIC I use is an intel e1000, so it should be pretty stable. The
slowdown is both domU<-->  dom0, and dom0<-->  external network.

I am getting really desperate since this is sort of in production. :)
Thanks for any help!

Some info:
Kernel Linux 2.6.32.27 x86_64 PVOPS

$ ethtool -i eth0

driver: e1000
version: 7.3.21-k5-NAPI
firmware-version: N/A
bus-info: 0000:08:00.0

Settings for eth0:
         Supported ports: [ TP ]
         Supported link modes:   10baseT/Half 10baseT/Full
                                 100baseT/Half 100baseT/Full
                                 1000baseT/Full
         Supports auto-negotiation: Yes
         Advertised link modes:  10baseT/Half 10baseT/Full
                                 100baseT/Half 100baseT/Full
                                 1000baseT/Full
         Advertised pause frame use: No
         Advertised auto-negotiation: Yes
         Speed: 1000Mb/s
         Duplex: Full
         Port: Twisted Pair
         PHYAD: 0
         Transceiver: internal
         Auto-negotiation: on
         MDI-X: Unknown
         Supports Wake-on: umbg
         Wake-on: g
         Current message level: 0x00000007 (7)
         Link detected: yes

Offload parameters for eth0:
rx-checksumming: on
tx-checksumming: on

This may be the problem.  Try "ethtool -K eth0 tx off"

scatter-gather: on
tcp-segmentation-offload: on
udp-fragmentation-offload: off
generic-segmentation-offload: on
generic-receive-offload: off
large-receive-offload: off
ntuple-filters: off
receive-hashing: off

/etc/network/interfaces:


# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

auto xen-pub
iface xen-pub inet static
       address 192.168.0.3
       netmask 255.255.255.0
       broadcast 192.168.0.255
       gateway 192.168.0.1
       bridge_ports eth0
       bridge_maxwait 1
       bridge_stp no
auto xen-dmz
iface xen-dmz inet manual
       pre-up  brctl addbr xen-dmz ; ifconfig xen-dmz up
       post-down ifconfig xen-dmz down ; brctl delbr xen-dmz
auto xen-intern
iface xen-intern inet manual
       pre-up  brctl addbr xen-intern ; ifconfig xen-intern up
       post-down ifconfig xen-intern down ; brctl delbr xen-intern


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

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