From: Keir Fraser Subject: Re: Increase txqueuelen of vif devices Date: Fri, 22 Oct 2010 11:22:49 +0100 Message-ID: References: <415262228.113991287740125411.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <415262228.113991287740125411.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Miroslav Rezanina , xen-devel List-Id: xen-devel@lists.xenproject.org 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" 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