From: David Vrabel <dvrabel@cantab.net>
To: Simon Martin <smartin@milliways.cl>,
Keir Fraser <keir.xen@gmail.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Cc: Roland Heusser <heusserr@mail.gvsu.edu>,
Sisu Xi <xisisu@gmail.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Dario Faggioli <dario.faggioli@citrix.com>,
Joshua Whitehead <whitehej@mail.gvsu.edu>,
Drek Darkover <wackerei@gmail.com>,
Nate Studer <nate.studer@dornerworks.com>
Subject: Re: PV guest timings
Date: Wed, 27 Nov 2013 10:38:43 +0000 [thread overview]
Message-ID: <5295CBB3.8090609@cantab.net> (raw)
In-Reply-To: <em8e216a58-7651-40d5-847d-c78920bec946@smartin-alien>
On 26/11/2013 15:38, Simon Martin wrote:
> Hi Keir,
>
>> Are you using the single-shot timer or the periodic timer?
> I'm using the single-shot timer.
>
>>
>> How are you calculating clock time?
> Copied code in from Mini-OS. To make sure I don't get drift between
> deadlines as this is a single shot timer I read monotonic_clock at
> startup and then calculate every deadline by incrementing this register
> by the period on each timer call.
>
> As an additional comment. I decided to filter out the samples with
> negative latency. This seems to happen 100 times a second, i.e. the 10
> ms Hypervisor timer event. This improves the timings considerably. So it
> looks like I'm on the right track looking for ways to distinguish
> between timer events.
You should disable the periodic timer if you don't need it.
VCPUOP_stop_periodic_timer
David
next prev parent reply other threads:[~2013-11-27 10:38 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-14 21:18 VCPUOP_set_periodic_timer Simon Martin
2013-11-14 21:39 ` VCPUOP_set_periodic_timer Andrew Cooper
2013-11-15 11:24 ` VCPUOP_set_periodic_timer Simon Martin
2013-11-15 11:36 ` VCPUOP_set_periodic_timer Keir Fraser
2013-11-15 11:45 ` VCPUOP_set_periodic_timer Simon Martin
2013-11-15 11:56 ` VCPUOP_set_periodic_timer Keir Fraser
2013-11-15 12:37 ` VCPUOP_set_periodic_timer Simon Martin
2013-11-15 13:10 ` VCPUOP_set_periodic_timer Keir Fraser
2013-11-15 13:13 ` VCPUOP_set_periodic_timer Andrew Cooper
2013-11-15 13:39 ` VCPUOP_set_periodic_timer Keir Fraser
2013-11-15 11:41 ` VCPUOP_set_periodic_timer Andrew Cooper
2013-11-15 12:02 ` VCPUOP_set_periodic_timer Simon Martin
2013-11-15 12:17 ` VCPUOP_set_periodic_timer Andrew Cooper
2013-11-15 12:46 ` VCPUOP_set_periodic_timer Nate Studer
2013-11-15 12:52 ` VCPUOP_set_periodic_timer Andrew Cooper
2013-11-15 12:54 ` VCPUOP_set_periodic_timer George Dunlap
2013-11-15 21:10 ` VCPUOP_set_periodic_timer Dario Faggioli
2013-11-16 20:37 ` VCPUOP_set_periodic_timer Simon Martin
2013-11-18 18:28 ` VCPUOP_set_periodic_timer Dario Faggioli
2013-11-26 14:50 ` PV guest timings Simon Martin
2013-11-26 15:11 ` Keir Fraser
2013-11-26 15:38 ` Simon Martin
2013-11-26 23:33 ` Dario Faggioli
2013-11-27 2:32 ` Simon Martin
2013-11-27 8:46 ` Dario Faggioli
2013-11-27 12:04 ` Simon Martin
2013-11-27 10:38 ` David Vrabel [this message]
2013-11-27 14:07 ` Simon Martin
2013-11-26 23:31 ` Dario Faggioli
2013-11-27 2:36 ` Simon Martin
2013-11-27 8:56 ` Dario Faggioli
2013-11-27 13:00 ` Simon Martin
2013-11-28 11:16 ` Dario Faggioli
2013-11-28 11:57 ` Simon Martin
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=5295CBB3.8090609@cantab.net \
--to=dvrabel@cantab.net \
--cc=andrew.cooper3@citrix.com \
--cc=dario.faggioli@citrix.com \
--cc=heusserr@mail.gvsu.edu \
--cc=keir.xen@gmail.com \
--cc=nate.studer@dornerworks.com \
--cc=smartin@milliways.cl \
--cc=wackerei@gmail.com \
--cc=whitehej@mail.gvsu.edu \
--cc=xen-devel@lists.xen.org \
--cc=xisisu@gmail.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.