From: Keir Fraser Subject: Re: vif tx drops Date: Tue, 12 Oct 2004 16:33:49 +0100 Sender: xen-devel-admin@lists.sourceforge.net Message-ID: References: <20041012144901.GK921@cs.duke.edu> Return-path: In-Reply-To: Your message of "Tue, 12 Oct 2004 10:49:01 EDT." <20041012144901.GK921@cs.duke.edu> Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: David Becker Cc: Keir Fraser , xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org > > " 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