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] [RFC] Correct/fast timestamping in apps under Xen [0 of

To: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC] Correct/fast timestamping in apps under Xen [0 of 4]
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 02 Oct 2009 12:00:29 -0700
Cc: kurt.hackel@xxxxxxxxxx, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, "Xen-Devel \(E-mail\)" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 02 Oct 2009 12:01:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <18b5f9d0-1806-4ea5-8d69-579f33214cfc@default>
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: <18b5f9d0-1806-4ea5-8d69-579f33214cfc@default>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Lightning/1.0pre Thunderbird/3.0b3
On 10/02/09 10:50, Dan Magenheimer wrote:
> The premises are:
>
> 1) A large and growing percentage of servers running
>    Xen have a "reliable" TSC and Xen can determine
>    conclusively whether a server does or does not
>    have a reliable TSC.
> 2) A small but growing percentage of servers running
>    Xen implement the rdtscp instruction but Xen does
>    not and will not expose this instruction to guest
>    OSes.
> 3) Xen is able to track the "incarnation" number for
>    a guest.  This number will increase whenever a
>    guest is restored or migrated (and possibly more
>    frequently).  Optionally, an administrator can
>    explicitly mark a guest as "landlocked", disallowing
>    save/restore/migration for that guest.
> 4) Apps can become "virtualization aware" in that
>    they can access certain information directly
>    from Xen utilizing an OS-independent mechanism.
>    This information includes not only "Am I running
>    on Xen?" but also, for example, "Is TSC reliable
>    on this physical machine?", "Is rdtsc emulated
>    or native on this virtual machine?",  "What is
>    the current incarnation number for this virtual
>    machine?", "Is this virtual machine landlocked?",
>    "What are the pvclock parameters for this
>    virtual machine?", etc.
>   

I think you're missing a couple of premises here:

    0) It is not possible to update the existing APIs and ABIs available
    to applications to meet the most demanding performance requirements.

    5) There will be enough important applications (ie, broadly used,
    rather than a few in-house apps) whose developers are willing to
    update them to your new proposed ABI to justify adding and
    maintaining these new ABIs.

Without discussing these, you're presupposing your solution is necessary.

    J

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

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