From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dario Faggioli Subject: Re: PV guest timings Date: Wed, 27 Nov 2013 09:56:26 +0100 Message-ID: <1385542586.15201.204.camel@Solace> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2694789469019738671==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Simon Martin Cc: Roland Heusser , Sisu Xi , Andrew Cooper , Joshua Whitehead , "xen-devel@lists.xen.org" , Drek Darkover , Nate Studer List-Id: xen-devel@lists.xenproject.org --===============2694789469019738671== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-CctRwEFA8jsRmp6AdjoJ" --=-CctRwEFA8jsRmp6AdjoJ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On mer, 2013-11-27 at 02:36 +0000, Simon Martin wrote: > > =20 > > Is there any chance that you can share/show it? At least the > > relevant=20 > > chunks...=20 > 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:=20 > > - "looking at the statistics", what statistics? How do you collect=20 > > them?=20 > 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. > =20 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=20 > > range. It may be my fault, but I'm not sure I understand what > > you=20 > > mean with these two terms in this context, could you clarify?=20 > > =20 > Latency =3D difference between expected time and actual time of the > event. > =20 > Period =3D time between two consecutive events.=20 > 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,=20 > > but, just in case, have you looked at xentrace and xenalyze? There's > > a=20 > > blog post that could be a nice introduction to them:=20 > > http://blog.xen.org/index.php/2012/09/27/tracing-with-xentrace-and-xena= lyze/=20 > > =20 > I hadn't read that. I'll look at it tomorrow (it's almost midnight > here). > =20 Ask again if you need anything. Regards, Dario --=20 <> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK) --=-CctRwEFA8jsRmp6AdjoJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (GNU/Linux) iEYEABECAAYFAlKVs7oACgkQk4XaBE3IOsSIdgCfQ2u6LeSjH/lARUQFUAOJwaIL U7EAoI2Kopqh91lFKCPsYd0OPA8WvuV8 =SRYK -----END PGP SIGNATURE----- --=-CctRwEFA8jsRmp6AdjoJ-- --===============2694789469019738671== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2694789469019738671==--