|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!
The algorithm used to compute the timestamp information
that's passed up to a PV domain has been re-worked to
result in a much lower inter-CPU skew. The old
algorithm had a worst case of 10us to 40 us (depending
on how it was measured). The new algorithm appears
to have a worst case which is sub-microsecond, though
it needs more exposure and hasn't been tested on a wide
variety of boxes. To measure it on your box, in domain0,
run the following (or equivalent) for a few hours:
watch "xm debug-key t; xm dmesg | tail -2"
However, it's still not perfect and so is not guaranteed
to be monotonic across two CPUs, though it might be good
enough to be effectively monotonic in many environments.
I'm not sure its possible to guarantee monotonicity in
PV domains (without a global lock) except by doing a trap
or hypercall at each "get time".
I've thought about implementing softtsc for PV domains for
this reason. (Softtsc was just added at 4.0 for hvm domains
and causes all hvm tsc reads to trap.) Would this be of
interest?
> -----Original Message-----
> From: John Levon [mailto:levon@xxxxxxxxxxxxxxxxx]
> Sent: Tuesday, August 05, 2008 12:57 PM
> To: Dan Magenheimer
> Cc: Keir Fraser; Xen-Devel (E-mail); Ian Pratt; Dave Winchell
> Subject: Re: [Xen-devel] RE: [PATCH] rendezvous-based local time
> calibration WOW!
>
>
> On Mon, Aug 04, 2008 at 01:40:06PM -0600, Dan Magenheimer wrote:
>
> > * Greatly improved precision for time-sensitive SMP VMs
>
> I wonder if we could get a more detailed summary of all the
> changes that
> have been made here?
>
> Will this let us stop taking a global lock in our PV time routine to
> ensure monotonicity?
>
> regards
> john
>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
- [Xen-devel] Re: [PATCH] rendezvous-based local time calibration WOW!, Keir Fraser
- [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
- [Xen-devel] Re: [PATCH] rendezvous-based local time calibration WOW!, Keir Fraser
- [Xen-devel] Re: [PATCH] rendezvous-based local time calibration WOW!, Keir Fraser
- [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
- [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
- [Xen-devel] Re: [PATCH] rendezvous-based local time calibration WOW!, Keir Fraser
- Re: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, John Levon
- RE: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!,
Dan Magenheimer <=
- Re: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, John Levon
- RE: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
- Re: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Keir Fraser
- RE: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
- Re: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, John Levon
- RE: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
- Re: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, John Levon
- RE: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
- Re: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Nils Nieuwejaar
- RE: [Xen-devel] RE: [PATCH] rendezvous-based local time calibration WOW!, Dan Magenheimer
|
|
|
|
|