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-users

[Xen-users] Re: Re: Why pv-on-hvm drivers?

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: Re: Why pv-on-hvm drivers?
From: Markus Schuster <ml@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 07 Sep 2010 23:10:17 +0200
Delivery-date: Tue, 07 Sep 2010 14:11:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Followup-to: gmane.comp.emulators.xen.user
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <i5uko4$28c$1@xxxxxxxxxxxxxxx> <20100905001330.GC2804@xxxxxxxxxxx> <i62ah1$hlu$1@xxxxxxxxxxxxxxx> <20100906095505.GD2804@xxxxxxxxxxx> <20100906124029.GM2804@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KNode/4.4.2
Pasi Kärkkäinen wrote:

> On Mon, Sep 06, 2010 at 12:55:05PM +0300, Pasi Kärkkäinen wrote:
>> On Mon, Sep 06, 2010 at 10:59:26AM +0200, Markus Schuster wrote:
>> > Pasi Kärkkäinen wrote:
>> > > On Sun, Sep 05, 2010 at 01:29:19AM +0200, Markus Schuster wrote:
>> > >> Hi list,
>> > >> 
>> > >> I've read about recent efforts to push pv-on-hvm drivers to Linux
>> > >> mainline and I'm curious to know the cause for this. What's the
>> > >> advantage over using pv_ops directly and booting the kernel
>> > >> paravirtualized?
>> > > 
>> > > The other point is performance: 32bit PV (paravirtualized) guests
>> > > perform OK, but 64bit PV guests have a performance hit if your
>> > > workload creates a lot of new processes in the guest.
>> > > 
>> > > HVM helps there; 64bit Linux guests might be faster as HVM,
>> > > depending on the workload.
>> > 
>> > Hi Parsi, thanks for your (as usual :)) good answer.
>> > That's the first time I read about a PV performance hit compared to HVM
>> > - maybe you (or someone else) can write a few words about what's
>> > causing that? Could be interesting for other people, maybe?
>> > 
>> 
>> I think there are some XenSummit presentations about it on xen.org
>> website. It has to do with 32bit vs 64bit architecture differences
>> related to memory management.
>> 
>> Every time a new process is created by the 64bit PV kernel
>> the guest process pagetables need to be verified/checked by the
>> hypervisor, and this causes a performance hit if you need to create a lof
>> of new processes in the guest.
>> 
>> It doesn't affect 'long running' processes in a 64bit PV guest,
>> ie. the performance hit happens only when new processes
>> are created often (kernel compilation, unixbench).
>> 
>> For an HVM guest that stuff is handled by the CPU/hardware,
>> so there's no performance hit related to it.
>> HVM guests have some other performance hits though..
>> 
>> That's my understanding of it :)
>> 
> 
> I think this video interview of Keir Fraser includes that stuff:
> http://blog.xen.org/index.php/2009/07/02/developer-interview-series/
> 
>>From around 8 minutes on that video..

Thank's for the link, really interesting stuff. Maybe one should consider 
that fact when setting up a domU. 
But finally pv-on-hvm makes sense to me :)

Regards,
Markus


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

<Prev in Thread] Current Thread [Next in Thread>