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

[Xen-devel] [RFC] Correct/fast timestamping in apps under Xen [3 of 4]:

To: "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [RFC] Correct/fast timestamping in apps under Xen [3 of 4]: Incarnation number and landlocking
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Fri, 2 Oct 2009 10:51:20 -0700 (PDT)
Cc: kurt.hackel@xxxxxxxxxx, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Fri, 02 Oct 2009 10:54:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
=============
Premise 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.
=============

Incarnation number is intended to be a monotonically
increasing 64-bit number that never wraps around.
It will certainly increment when a guest is saved
and restored, and when a guest migrates.  Other
events might be useful for an app to track, such
as vcpu-to-pcpu switches, C3 power events, and ??

"Landlocking" (term just made up, suggest a better one
if you have one) enforces the fact that many guests
are never saved and restored and never migrate.
If a system administrator is willing to guarantee
that (and the guarantee may be necessary in many
other circumstances anyway, such as PCI passthrough),
AND if the guest is lauched on a server with reliable
TSC, many TSC problems go away so rdtsc CAN be used
directly.  I'm thinking that a VM config option can
be specified and Xen (or tools) would enforce it.

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [RFC] Correct/fast timestamping in apps under Xen [3 of 4]: Incarnation number and landlocking, Dan Magenheimer <=