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] Network nightmare. Is NAT better than bridge for DomU to

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Network nightmare. Is NAT better than bridge for DomU to DomU?
From: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Date: Thu, 26 Jun 2008 11:07:37 +0700
Delivery-date: Wed, 25 Jun 2008 21:08:23 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <4862AD75.9020202@xxxxxxxxxxxxxxx>
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: <4862AD75.9020202@xxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (X11/20080505)
G. Michael Carter wrote:
I'm having lots of fun with my xen machine...

I've done all the tips I can find with sysctl and txqueuelen. External machine to Xen Dom0 is about 40-50MB/s and to DomU's anywhere between 10-40MB/s But DomU to DomU is being a real pain. Most times I only get 6MB/s.

What OS/Xen versions? What type of domU (PV Linux, HVM)? How do you test network performance?

On my system (RHEL5.2/x86_64/xen-3.2.1/Xeon 5130), using iperf, i get 400 - 900 Mbps. Performance is cpu-bound (since they're all software NICs connected to the same bridge).

Here's the relevant content from my sysctl.conf
### network read/write buffer ###
# increase TCP max buffer size
net.core.rmem_max = 262144
net.core.wmem_max = 262144
net.core.rmem_default= 262144
net.core.wmem_default= 262144

# increase Linux autotuning TCP buffer limits
# min, default, and max number of bytes to use
net.ipv4.tcp_wmem=4096    87380   262144
net.ipv4.tcp_rmem=4096    87380   262144

Regards,

Fajar

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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