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] Re: userspace block backend / gntdev problems

To: Markus Armbruster <armbru@xxxxxxxxxx>, Pat Campbell <plc@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: userspace block backend / gntdev problems
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 26 Jan 2008 08:48:20 +0000
Cc: Derek Murray <Derek.Murray@xxxxxxxxxxxx>, Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>, Gerd Hoffmann <kraxel@xxxxxxxxxx>
Delivery-date: Sat, 26 Jan 2008 00:49:16 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <8763xhf07e.fsf@xxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Achf+DN2ckj2QMvrEdykrAAWy6hiGQ==
Thread-topic: [Xen-devel] Re: userspace block backend / gntdev problems
User-agent: Microsoft-Entourage/11.3.6.070618
On 26/1/08 08:41, "Markus Armbruster" <armbru@xxxxxxxxxx> wrote:

>> In my latest post on "Dynamic modes support for PV xenfb" I am using
>> grants to map an extended framebuffer. I have a single grant ref that
>> points to 10 other refs. The other refs contain MFNs. Same technique as
>> the current framebuffer pd array but avoids the 64bit long issue. Kind
>> of a hybrid approach. I am able to map a 22MB framebuffer when running a
>> 64 bit guest and 44MB when running a 32 bit guest. When the backend is
>> done with the mapping it sends a message to the frontend to free up the
>> refs.
> 
> Uhm, I fear I didn't get the advantage of your hybrid approach.  Could
> you explain?

Presumably it allows creation of huge framebuffers without using up lots of
grants, or slots in accounting tables that Xen maintains. Given that those
tables can dynamically grow, I'm not sure how useful the two-level grant
table would be.

 -- Keir



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