All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <juergen.gross@ts.fujitsu.com>
To: Keir Fraser <keir@xen.org>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: Re: How to detect HAP from DomU?
Date: Wed, 10 Nov 2010 09:42:38 +0100	[thread overview]
Message-ID: <4CDA5AFE.5020306@ts.fujitsu.com> (raw)
In-Reply-To: <C90009FF.27AA5%keir@xen.org>

On 11/10/10 09:36, Keir Fraser wrote:
> On 10/11/2010 08:22, "Juergen Gross"<juergen.gross@ts.fujitsu.com>  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@ts.fujitsu.com
Domagkstr. 28                           Internet: ts.fujitsu.com
D-80807 Muenchen                 Company details: ts.fujitsu.com/imprint.html

  reply	other threads:[~2010-11-10  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10  8:22 How to detect HAP from DomU? Juergen Gross
2010-11-10  8:36 ` Keir Fraser
2010-11-10  8:42   ` Juergen Gross [this message]
2010-11-10  8:44     ` Jiang, Yunhong
2010-11-10  8:49       ` Juergen Gross
2010-11-10  8:50       ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CDA5AFE.5020306@ts.fujitsu.com \
    --to=juergen.gross@ts.fujitsu.com \
    --cc=keir@xen.org \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.