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] Increase txqueuelen of vif devices

To: Miroslav Rezanina <mrezanin@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Increase txqueuelen of vif devices
From: Keir Fraser <keir@xxxxxxx>
Date: Fri, 22 Oct 2010 11:22:49 +0100
Cc:
Delivery-date: Fri, 22 Oct 2010 03:23:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:user-agent:date :subject:from:to:message-id:thread-topic:thread-index:in-reply-to :mime-version:content-type:content-transfer-encoding; bh=HaXo1aDsv2hcZCAb/cpI4rA30AIwpZTiNtQgnU0bTcU=; b=cn1rhZV0EcacXoEFcboxdvZcLoVHtjDpkLmL/w7HtVZQVEBhv9vUl0TO2xUXkGCRIQ XRL0ikNfOnvTthaop4Hj/K0CmLwSYm5DPR1+xX+qQXvVlCW/zM5CCnhteciBlbz4Niso 1M4Cg7XLjeBoQm/7IfW/cu3FukrktLkUGSjP8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; b=dM5lHGskS2zASOaOsQKC2EnzJT2/8nbnzQc6/Ix/BYMuU6KRNmumYwDagGT6f0BfR7 m9Q2nT0DJKaXvE/vYQ333Clp+jXzd9aOSgyTBhSV7/I4BU1K6dNEZt6b+XNwSI4cxZk1 INWqYu77Mtn1uWlBvXUg4PGENUhY9CJdYfkv4=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <415262228.113991287740125411.JavaMail.root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Actx0xOJ3vThwJUMREWEr6LQ7OOOSQ==
Thread-topic: [Xen-devel] Increase txqueuelen of vif devices
User-agent: Microsoft-Entourage/12.26.0.100708
The expectation was that domU would push enough receive buffers to dom0 to
avoid packet loss. The txqueuelen is just a fallback for that. Still, yeah,
it could be increased if it improves perf given default domU netfront
behaviour.

 -- Keir


On 22/10/2010 10:35, "Miroslav Rezanina" <mrezanin@xxxxxxxxxx> wrote:

> During performance testing we find out that increasing txqueuelen can increase
> throughput significantly. Following table shows our results:
> 
> txQlen     netperf message size
>         512 byte        4096 byte
> -----------------------------------
> 32      1634.13          8402.32
> 64      1292.05         14198.48
> 128     4142.58         14677.39
> 256     4439.77         14626.80
> 512     5251.48         14809.59
> 1024    4875.96         15358.55
> 
> 
> Based on this result, shouldn't be good idea to change default txqueuelen?
> Physical devices uses txqueuelen of 1000.
> 
> Regard,
> Mirek



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

<Prev in Thread] Current Thread [Next in Thread>