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] vif tx drops

To: David Becker <becker@xxxxxxxxxxx>
Subject: Re: [Xen-devel] vif tx drops
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 12 Oct 2004 16:33:49 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 12 Oct 2004 16:39:12 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 12 Oct 2004 10:49:01 EDT." <20041012144901.GK921@xxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> 
> " Are the drops happening at a slow, steady rate? Or are they perhaps
> " all happening during domain startup and then there are no more drops?
> 
> The drop rate is high right after a xenU startup (16% when I just tried it),
> then the rate slows to just under 1% of packets in steady state.
> 

Please try changing the following line in netfront.c:
#define RX_MIN_TARGET 8
to:
#define RX_MIN_TARGET NETIF_RX_RING_SIZE

This will turn off the attempts to dynamically adjust the number of
receive buffers queued up to receive packets. This strategy can lose
packets if traffic is bursty -- also, if the domain is occasionally
preempted, packets can queue up and overflow a buffer allowance that
is otherwise sufficient.

If you find that this sorts out your packet-loss problem then I'll
take a look at the adjustment strategy and/or make it possible to
disable it in the kernel configuration.

 -- Keir


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel