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] Add multi-page shared ring support to xen-blkfront/back

To: Paul Durrant <paul.durrant@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: RE: [Xen-devel] Add multi-page shared ring support to xen-blkfront/back
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Tue, 12 Jan 2010 15:52:00 -0800 (PST)
Cc:
Delivery-date: Tue, 12 Jan 2010 15:53:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B4CB6AE.70005@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Haven't read the patch carefully, but a question:

Will blkback fall back safely to single-page allocation
if fragmentation has occurred... and, if so, will this inability
to allocate multi-page be dynamically propogated to blkfronts
(rather than just the largest ring size "supported" by
blkback)?

> -----Original Message-----
> From: Paul Durrant [mailto:paul.durrant@xxxxxxxxxx]
> Sent: Tuesday, January 12, 2010 10:52 AM
> To: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Add multi-page shared ring support to
> xen-blkfront/back
> 
> 
> Paul Durrant wrote:
> > These patches add support for multi-page shared rings to 
> xen-blkfront/back.
> > Shared rings must always be a power of 2 in size and so the 
> size is controlled
> > by the new 'max_ring_page_order' module parameter of 
> xen-blkback. This defaults
> > to 0 so operationally there should be no difference with 
> these patches in place.
> > The maximum value of 'max_ring_page_order' is currently limited to 2
> > (i.e. 4 pages).
> > xen-blkfront will always use the largest shared ring size 
> supported by the back
> > end. To override this and continue to use a single page 
> ring, as before, set the
> > 'allow_multi_page_ring' module parameter to 0.
> > 
> 
> I don't know why git-send-email seems to have sent my patch 
> series into 
> a black hole. Here they are as attachments this time.
> 
>    Paul
> 
> -- 
> ===============================
> Paul Durrant, Software Engineer
> 
> Citrix Systems (R&D) Ltd.
> First Floor, Building 101
> Cambridge Science Park
> Milton Road
> Cambridge CB4 0FY
> United Kingdom
> ===============================
>

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