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] How to detect HAP from DomU?

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>, Keir Fraser <keir@xxxxxxx>
Subject: RE: [Xen-devel] How to detect HAP from DomU?
From: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Date: Wed, 10 Nov 2010 16:44:09 +0800
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 10 Nov 2010 00:45:57 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4CDA5AFE.5020306@xxxxxxxxxxxxxx>
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>
References: <C90009FF.27AA5%keir@xxxxxxx> <4CDA5AFE.5020306@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuAs0hLaFMIlbhHRDCUdTNLh9K6lgAAAf1Q
Thread-topic: [Xen-devel] How to detect HAP from DomU?

>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Juergen Gross
>Sent: Wednesday, November 10, 2010 4:43 PM
>To: Keir Fraser
>Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
>Subject: Re: [Xen-devel] How to detect HAP from DomU?
>
>On 11/10/10 09:36, Keir Fraser wrote:
>> On 10/11/2010 08:22, "Juergen Gross"<juergen.gross@xxxxxxxxxxxxxx>  wrote:
>>
>>> is there any way for a HVM-domain to detect whether it is running with HAP
>>> enabled? I couldn't find any interface for this information.
>>>
>>> Background: in our BS2000 domain (HVM with PV-drivers) we sometimes have to
>>> copy complete pages between kernel and user. An alternative to the copy
>>> would be a remapping of the page. The remap is faster than the copy with HAP
>>> enabled, but much slower without HAP. So it would be best to copy without 
>>> HAP
>>> and remap with HAP.
>>
>> You could do a few remaps and copies and see how long it takes? Has the
>> advantage that you aren't tied up to one policy based on one system's
>> timings for those particuler ops. I don't think basing policy on static
>> assumptions about hidden implementation features is a good idea.
>
>Okay, that's a good idea.
>I'm going this way.

Will this works for Live Migration? After LM, your previous check will be 
invalid. (Can we migrate between system w/wo HAP?)
Or you can check after each LM.

--jyh

>
>
>Thanks, Juergen
>
>--
>Juergen Gross                 Principal Developer Operating Systems
>TSP ES&S SWE OS6                       Telephone: +49 (0) 89 3222 2967
>Fujitsu Technology Solutions              e-mail: juergen.gross@xxxxxxxxxxxxxx
>Domagkstr. 28                           Internet: ts.fujitsu.com
>D-80807 Muenchen                 Company details:
>ts.fujitsu.com/imprint.html
>
>_______________________________________________
>Xen-devel mailing list
>Xen-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-devel

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