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-devel

RE: [Xen-devel] n/w performance degradation

To: "Diwaker Gupta" <diwaker.lists@xxxxxxxxx>, "Nivedita Singhvi" <niv@xxxxxxxxxx>
Subject: RE: [Xen-devel] n/w performance degradation
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Tue, 6 Dec 2005 01:42:34 -0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 06 Dec 2005 01:42:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcX6BPacCuFFBw1AQMK1rTbBPd6IJwAANvqA
Thread-topic: [Xen-devel] n/w performance degradation
 > > What are your memory allocations? How much of a bump do you 
> get if you 
> > increase memory?
> 
> Currently, both dom0 and the vm have 128MB. I rebooted with 
> dom0 having 512MB and VM with 256 MB. Here are the numbers:
> 
> dom0:
> [  5]  0.0-10.0 sec    987 MBytes    828 Mbits/sec
> 
> VM:
> [  5]  0.0-10.0 sec    938 MBytes    787 Mbits/sec
> 
> So getting slightly better. I haven't run these with SEDF 
> though, above are using BVT.

Ah, I expect I know what's going on here.

Linux sizes the default socket buffer size based on how much 'system'
memory it has.

With a 128MB domU it probably defaults to just 64K. For 256MB it
probably steps up to 128KB. You can prove this by setting
/proc/sys/net/core/{r,w}mem_{max,default}.

For a gigabit network you need at least 128KB.

Ian

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