[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 0/6] grantable and address conversion patches




On 10 Apr 2006, at 09:54, Keir Fraser wrote:

2/6: This is a poor fix. Either we should make the ring size fixed (e.g., 4kB) rather than architectural page-sized, or grants should be dynamically allocated in netfront rather than statically allocated. This was done quite some time ago for blkfront, and would be the preferred (although more difficult) fix here.

Actually, another option that might be easier that dynamic grant allocation, but less restrictive that reducing the size of the rings on ia64, would be to modify netfront to queue only up to 256 requests simultaneously on any ring, regardless of the actual ring size. Then you'd only need to allocate 256 grants per ring, as x86, and the bigger issue (dynamic allocation of grants) can be fixed later. At that point we can lift the restriction of 256 requests per ring without having to change the public interface at all (unlike if we'd reduced the advertised ring size for ia64).

 -- Keir


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.