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

Re: [Xen-users] Network nightmare. Is NAT better than bridge for DomU to DomU?


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

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