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] nic poor performance after upgrade to xen 3.2

To: "Riccardo Veraldi" <Riccardo.Veraldi@xxxxxxxxxxxx>
Subject: Re: [Xen-users] nic poor performance after upgrade to xen 3.2
From: tmac <tmacmd@xxxxxxxxx>
Date: Wed, 6 Feb 2008 13:14:14 -0500
Cc: xen-users@xxxxxxxxxxxxxxxxxxx, Omar Schiaratura <schiarat@xxxxxxxxx>
Delivery-date: Wed, 06 Feb 2008 10:14:49 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=ve4YCf4AmxNsELXeAgaxqqK0iZTDhW3dk9pvQqqpNO0=; b=QH3OqGSFPDoS8fAn5/8Vk19B/05yYw4JoV/htwwV4o0CLzQSXd0LQhQbrVLuF8sMQyPL93qVOn1sgEjOVheiFwtVYOI0bGD+SHOSJqNYMasz1JupXVI98NOlTSIs1oyOWIghP+jgWWcWSQB0kHvawaRzQmqkSHsmqYcnD2A1Wa4=
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=BMQBXvFNLFx5An+pgO6CG9kNFBuQ6sxzOHayIOs1h5k3GC9iEJYKeiKVMBFlZwy+HDMfavPQ6w81QHcUrDzZj2d4LTjK+eOLLRuDJYNvWOwym+X4LG+yTkvZCfKa5vWktR2yEtabkB2sklJXHGR15mk7KjRvXQYD9KujSKarR1E=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47A9DFE3.7010707@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <200802061712.40751.schiarat@xxxxxxxxx> <47A9DFE3.7010707@xxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
place "sysctl -p" as the first line in the /etc/init.d/netfs right after the first stanza of comments.

try these changes to the /etc/sysctl.conf file on the Guests
(for the host, the last line, sunrpc, is not available, so remove it)

net.core.netdev_max_backlog = 30000
net.core.rmem_default = 256960
net.core.rmem_max = 16777216
net.core.wmem_default = 256960
net.core.wmem_max = 16777216
net.core.rmem_default = 65536
net.core.wmem_default = 65536
net.core.rmem_max = 8388608
net.core.wmem_max = 8388608
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 16384 4194304
net.ipv4.tcp_mem = 4096 4096 4096
sunrpc.tcp_slot_table_entries = 128

On Feb 6, 2008 11:27 AM, Riccardo Veraldi <Riccardo.Veraldi@xxxxxxxxxxxx> wrote:

I think you use netfront to achieve such performances on domU
so you have to recompile in unmodified_drivers/linux-2.6  from Xen
sources under your domU
and load the kernel modules at boot time

xen-vnif.ko xen-platform-pci.ko xen-vbd.ko xen-balloon.ko

you must alias eth0 xen-vnif in modprobe.conf and of couse use netfront
instead of ioemu
in the vif part of your guest config file. But I think this step is
already done on your guest
otherwise you cannot achieve such a speed with vif type set to ioemu.

Riccardo




Omar Schiaratura ha scritto:
> Hi,
> I'm doing some test on a network 10 gb nics and xen
> with version 3.1 i'm measuring 2.5 gb/sec from domU to an external physical machine with iperf.
> switching to 3.2 has reduced the measured performance to 40-50 Mb/sec.
>
> did anything change in the network interface?
>
> can someone help me?
>
> thanks
>
> _______________________________________________
> 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



--
--tmac

RedHat Certified Engineer #804006984323821 (RHEL4)
RedHat Certified Engineer #805007643429572 (RHEL5)

Principal Consultant, RABA Technologies
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>