[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-users] Poor network performance on Dom0 [2.6.18-6-xen-amd64]
- To: "Imre Oolberg" <imre@xxxxxxxxxxx>
- From: "Alejandro Martini" <alejandro.martini@xxxxxxxxx>
- Date: Sat, 5 Jul 2008 14:42:18 -0300
- Cc: xen-users@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Sat, 05 Jul 2008 10:42:59 -0700
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=qAGwVeyCkLqRmt+3s525SjyGM3HbBfVQ/FDaIvQ2hF9EnSfYtwIdJc9EMabExatn/W S397sB4Mzdf56m1/PvyAOGwqWgfaNdO6X0tsuR35Ohv1oZJE5pClDTyPc5bS79SNw1Cr lGqc+90tdEVtFzNBPq0VbIB2Ae8lhiTYjXr0A=
- List-id: Xen user discussion <xen-users.lists.xensource.com>
Hi, thank you for those tips! If i run ethtool -i, this is the output that i get:
driver: r8169 version: 2.2LK-NAPI firmware-version: bus-info: 0000:01:00.0
So i can see that the on-board network adapter is using the r8169 module. However, i still cannot tell for sure if that is the right module for this specific adapter.
A couple of days ago I tried blacklisting the module, and also tried renaming the file to prevent it from loading. However, lsmod still reported the driver being loaded. Obviously, the system must be loading it from the initrd (i've checked and the module is present inside it).
Is there any way to stop that module from loading without having to modify the initrd?
Meanwhile, i've modified my xend-config file, setting dom0-cpus to 1 (it was set to 0). Then i restarted the server, and so far so good. I'll keep it running for several days and see what happens.
The network adapter always works fine for some time when the system has been restarted. And then, all of a sudden, it starts performing very poorly, or it looses connection, having to reboot in order to get it working again.
Best regards, Alex
2008/7/5 Imre Oolberg < imre@xxxxxxxxxxx>:
Hi!
If it helps but i found out which driver is associated with my p/ethx devices running ethtool like this
aix:~# ethtool -i peth1
driver: r8169
version: 2.2LK-NAPI
firmware-version:
bus-info: 0000:06:09.0
And to make sure wrong driver isnt getting in the way i sometimes just removed it from module tree under /lib/modules/... (or ramdisk i.e. initrd image) though there is obviously more appropriate way doing it.
I also run the same software and only thing which made it unstable was having multiple cpu's in dom0 but it is know fact and workaround is to have in /etc/xen/xend-config.sxp
# In SMP system, dom0 will use dom0-cpus # of CPUS
# If dom0-cpus = 0, dom0 will take all cpus available
(dom0-cpus 1)
Best regards,
Imre
Alejandro Martini wrote:
Randall, thank you for sharing those tips. The network card was working fine on this system before installing Xen. At least i've never noticed any problems like the ones i reported while i was setting up the base system (Debian Etch, via netinstall).
Now i think that the problem might be related to the fact that Xen is not loading the right module for this network adapter. I've googled around quite a bit, but wasn't able to find a conclusive statement on what kind of card this is.
There are at least three possibilities, since:
- The manufacturer states that this is a Realtek RTL8111B (the motherboard is an ASRock AliveNF5-eSATAII)
- lspci identifies it as "Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller"
- udev seems to have detected it as 8169
- Xen loads the r8169 module for this card, even if r8168.ko is present and r8169 is blacklisted.
So, i cannot tell for sure if i'm dealing with an 8169, an 8168B or an 8111B.
If i run modinfo, i can see that both modules (r8168 and r8169) have matching aliases for this card type (10ec:8168), and then i don't really know how the kernel decides which module to load, or how to tell it to choose one over the other.
With regard to your other advice (installing irqbalance), the latest known version for debian/stable is 0.12-7. I guess that it's pretty outdated. Anyway, if you think that it's worth trying, i'll install it and see what happens.
Thanks again!,
Alex
2008/6/23 randall ehren <randall@xxxxxxxxxxxxx <mailto:randall@xxxxxxxxxxxxx>>:
>
> two things i can think of:
>
> 1) did you ever test this machine's networking performance before installing xen?
>
> 2) have you tried installed 'irqbalance'? i've had to install that on dell 2650's running xen 3.0.x
>
> -randall
------------------------------------------------------------------------
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|