From: Dario Faggioli <dario.faggioli@citrix.com>
To: Simon Martin <smartin@milliways.cl>
Cc: Roland Heusser <heusserr@mail.gvsu.edu>,
Sisu Xi <xisisu@gmail.com>,
Andrew Cooper <andrew.cooper3@citrix.com>,
Joshua Whitehead <whitehej@mail.gvsu.edu>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>,
Drek Darkover <wackerei@gmail.com>,
Nate Studer <nate.studer@dornerworks.com>
Subject: Re: PV guest timings
Date: Wed, 27 Nov 2013 09:56:26 +0100 [thread overview]
Message-ID: <1385542586.15201.204.camel@Solace> (raw)
In-Reply-To: <em388a1133-997c-4659-8d90-3d11aebd5193@smartin-alien>
[-- Attachment #1.1: Type: text/plain, Size: 2714 bytes --]
On mer, 2013-11-27 at 02:36 +0000, Simon Martin wrote:
> >
> > Is there any chance that you can share/show it? At least the
> > relevant
> > chunks...
> No problems, I can share the complete code it you want, there is
> nothing proprietary in there yet. What's the best way to do it? Put it
> on github? Send a tarball?
>
Well, I think a repo somewhere would be preferrable over a tarball,
espacially if you have it in a (although private) repo already, so that
we gt to see the history, the commit changelogs, etc.
Also, if you go for github, or whatever similar service, people would be
able to both checkout your code, or browse it on-line, depending on what
they like most.
If you don't, I still personally prefer repositories, but, really,
whatever you're more comfortable with would do.
> > Some questions:
> > - "looking at the statistics", what statistics? How do you collect
> > them?
> At every cycle I compare the current time with the expected time and
> calculate latency (time from when I expect the event to when it
> actually happens) and period.
>
Sure, that part I got. I was more asking how you get these numbers out,
i.e., you print them online, store somewhere and print later/on request,
etc. (I guess I could have specified this more clearly, sorry about
that :-) )
> > - you say you get latencies in some range and periods in some
> > other
> > range. It may be my fault, but I'm not sure I understand what
> > you
> > mean with these two terms in this context, could you clarify?
> >
> Latency = difference between expected time and actual time of the
> event.
>
> Period = time between two consecutive events.
>
Ok, I think I see now. Just to confirm that I do, this means that the
values/ranges you get by measuring both are related, i.e., not
completely independent, right? Again, I'm not saying it's not useful to
have both, just trying to double check I understood what you're doing.
> > I'm not sure if fits your exact needs, and you probably know it
> > already,
> > but, just in case, have you looked at xentrace and xenalyze? There's
> > a
> > blog post that could be a nice introduction to them:
> > http://blog.xen.org/index.php/2012/09/27/tracing-with-xentrace-and-xenalyze/
> >
> I hadn't read that. I'll look at it tomorrow (it's almost midnight
> here).
>
Ask again if you need anything.
Regards,
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
-----------------------------------------------------------------
Dario Faggioli, Ph.D, http://about.me/dario.faggioli
Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
next prev parent reply other threads:[~2013-11-27 8:56 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
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 [this message]
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=1385542586.15201.204.camel@Solace \
--to=dario.faggioli@citrix.com \
--cc=andrew.cooper3@citrix.com \
--cc=heusserr@mail.gvsu.edu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).