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: Next steps with pv_ops for Xen

To: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Next steps with pv_ops for Xen
From: tgh <wwwwww4187@xxxxxxxxxxx>
Date: Tue, 04 Dec 2007 17:35:44 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, 'Eduardo Habkost' <ehabkost@xxxxxxxxxx>, 'Juan Quintela' <quintela@xxxxxxxxxx>, "'Stephen C. Tweedie'" <sct@xxxxxxxxxx>, 'Jan Beulich' <jbeulich@xxxxxxxxxx>, 'Glauber de Oliveira Costa' <gcosta@xxxxxxxxxx>, 'Chris Wright' <chrisw@xxxxxxxxxxxx>, virtualization@xxxxxxxxxxxxxx, dgm36@xxxxxxxxx, 'Gerd Hoffmann' <kraxel@xxxxxxxxxx>
Delivery-date: Tue, 04 Dec 2007 01:36:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200712031908.11079.mark.williamson@xxxxxxxxxxxx>
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>
References: <000001c835db$72d9de90$ddf4e880@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <200712031908.11079.mark.williamson@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)
hi
I am not quite clear about the purpose of pv-ops , what do we want to deal with by developping "pv-ops"? is it used for HVM or for PV or KVM or something ? I have seen it for a few months in the list ,and "pv-ops"is an active project ,but i am not clear about what is the aim of "pv-ops" ,could you give me an explanation about it

Thanks in advance




Mark Williamson 写道:
Hi Mark,

Maybe a change to the gntdev userspace API to allow batching
of mapping requests?
Something along the lines of the following?

Just like that :-D

When you said "multiple syscalls per mapping" I assumed you meant that we'd lose the batching you get by doing a mulicall. If it's just a couple of syscalls (plus, presumably a couple of hypercalls) per batch of mappings, my gut says it's probably not going to hurt block performance. My guts have been wrong in (many!) ways before of course...

I guess the overhead *could* be reduced even more by just having a magic ioctl that did all the mmap-ing stuff in one operation, but that'd probably be really gross if it wasn't necessary! And I doubt it'd make upstream very happy...

We'll also be eliminating the overheads involved in having a blktap ring for talking to userspace and having to move requests between that ring and the real block ring, so there's some definite wins in overheads as well.

Cheers,
Mark



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