[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] How to detect HAP from DomU?


  • To: Keir Fraser <keir@xxxxxxx>
  • From: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
  • Date: Wed, 10 Nov 2010 09:42:38 +0100
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Wed, 10 Nov 2010 00:43:15 -0800
  • Domainkey-signature: s=s1536a; d=ts.fujitsu.com; c=nofws; q=dns; h=X-SBRSScore:X-IronPort-AV:Received:X-IronPort-AV: Received:Received:Message-ID:Date:From:Organization: User-Agent:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=VgBSd9UIRhxx0x96UGpPjbxLCrf2obXl2EyYnC46Q4abYOMzEeSWEy5k So0VkT1vVjwcjd4f5FXfk0Gih2DjqgJMgPoJ/gJbDalnbUBldvPLDgPeT 8WkezeS2uW2NZ89oww8tD2XsXWmnMkTfetWHZNnhZEGlNGGykOmWW2V38 l5ZIfA/Y02lfBk0HMMmrkNN2Bmk4ExpwiwTOkdJHY7vdC6NrfKEIh406Q Zkjmg/N/+h+cp9gjTmSSCPKhaeq+X;
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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.


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.