[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] common time reference between domU and dom0
- To: xen-devel@xxxxxxxxxxxxxxxxxxx
- From: Henry Pepper <henrypepr@xxxxxxxxx>
- Date: Fri, 10 Dec 2010 09:26:18 +0100
- Delivery-date: Fri, 10 Dec 2010 00:27:08 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=SSWYoA86ulVcXdHXqxx7xTw8gUc7+/m0RYFhJ2q0nO0=; b=x8EzSAzTX5nLt4TSmihC5l/nFWR52bJaA4GU6X4kf8m4DDVhPDG6k6kDmhTSgKXbA/ yaylvzViok2Q1EUeCFb2oBgQ1gwziakCI/LLRjYszQQzu7qFAOPUs9nL6s6sDLaWSEVi ve7164BEWSSipgLCpWMuqYYwvpjeT4h6SF6Lk=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=qPRWvrofV+/nd7wGdLJ4a13zA4l0KCB3JHOWFMlUvHEMDPRmBe+QjPEjBxCJaUxS9j 677+Pvy+717G74uEqoeSKwgtxO/51MPOVZ+89ML5jNL/2cqW6cagALYMA3JSNYE5h2NX +6u7lLz2mcI+lrbartLQkN5p0Oa5OW5kF8V7M=
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
I was under the impression that none of the domains has the correct time.
Neither Dom0 nor DomU receives a timer interrupt, but only a timer
event. Events that could be missed.
So timing in the millisecond can have jitter and drift.
Is there actually a way to keep a precise timer in a domain?
On top of this I would think that both domains would have to have
exclusive access to their own CPU in order to avoid being switched off
of the CPU in periods of time(quantums of 30 ms using the default
On Fri, Dec 10, 2010 at 8:19 AM, Keir Fraser <keir@xxxxxxx> wrote:
> System time, as exposed to guests by Xen, should be good enough.
> -- Keir
> On 10/12/2010 05:23, "James Harper" <james.harper@xxxxxxxxxxxxxxxx> wrote:
>> I would like to be able to measure front/back ring message latency
>> between a Windows DomU and Dom0. To do this I need a common time
>> reference between the two, preferably with at least microsecond
>> precision (latency <1us is irrelevant for my purposes). Does such a
>> thing exist? A small amount of overhead in measuring this latency is
>> Xen-devel mailing list
> Xen-devel mailing list
Xen-devel mailing list