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] what's maximum speed setting for xen network?


On 23 Apr 2005, at 17:14, mukesh agrawal wrote:

FWIW, I don't think this is the problem I'm running into. The reason being that I don't think the workload I'm using is heavy enough to trigger overflow. I'm sending 102 packets over the course of 2 seconds. Of these, 5 are dropped.

Assuming the ring size is given by NETIF_RX_RING_SIZE (which is defined to 256 in io/netif.h), I'm thinking that the drops can't be attributed to overflow.

We also dynamically size the receive ring. It starts off small (8 buffers) and is doubled in size every time packets may have been lost. It then slowly (linearly) shrinks when loss is not detected. The parameters for this are RX_MIN_TARGET and RX_MAX_TARGET in netfront.c -- currently they are not configurable at run-time, nor easily configurable at compile-time.

 -- Keir


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