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] strangeness with high BDP tests

To: Nivedita Singhvi <niv@xxxxxxxxxx>
Subject: Re: [Xen-users] strangeness with high BDP tests
From: Diwaker Gupta <diwakergupta@xxxxxxxxx>
Date: Mon, 4 Apr 2005 12:18:43 -0700
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 04 Apr 2005 19:18:44 +0000
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=mebIQZeo82YF/1cFYmC+FQmwN7A4gzdQ9YiQ0DEA2RPR26+71taARUNvqUX/O7zBPCyaE62hKUS1ycuVKDvvWAqARCL+7t777SjJL1SAQjxco5k410z56QX0nd11sbfTKFEhd5FAvu1tCPEoI2v02wJ42RI3RRFo+QRr3UIbMwM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <42518AC8.8000000@xxxxxxxxxx>
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: <A95E2296287EAD4EB592B5DEEFCE0E9D1E39B3@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <1b0b4557050403231331bcd9bd@xxxxxxxxxxxxxx> <42515047.6020605@xxxxxxxxxx> <1b0b4557050404105853608f6b@xxxxxxxxxxxxxx> <42518AC8.8000000@xxxxxxxxxx>
Reply-to: Diwaker Gupta <diwakergupta@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
> > I don't trust the 10 second tests either, especially for such a high
> > RTT. Thats why I ran the tests for 80 seconds (thats 1000 RTTs, and
> > should give TCP enough time to stabilize). I'll get some numbers using
> > these options in any case.
> 
> Cool :). Thanks for offering to test, too.

No problemo :) So I tried the -i and -I options... not too much of a
difference. Slight improvement in the numbers, but the difference is
still stark.

> > Yeah, but in my experience it usually picks up the "default" value as
> > set by the sysctl. I'll check the code.
> 
> In your netperf output, it's listing the socket size as
> the default system 64K. If you invoke netperf with -s 131762 -S 131762
> it should at least use 128K (local and remote). Bumping that
> up by 3 times usually gives good gain on netperf stream type
> tests bymmv..

I looked at the netperf source. If the -s/-S values are not specified,
it seems it sticks to the default values. Also, setsockopt only
changes the maximum buffer size, the default is still governed by the
sysctl values. Further, AFAIK, even the max value (in Linux) is just a
hint to the TCP stack -- the actual size of the buffer is determined
by the TCP auto-buffer tuning  code. In any case, since both dom0 and
the VM are using the same buffer sizes, I'm not too concerned about
setting the "right" buffer sizes. Right now, I want to figure out the
discrepancy in performance.

-- 
Diwaker Gupta
http://resolute.ucsd.edu/diwaker

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