From: Dario Faggioli <dario.faggioli@citrix.com>
To: Pavlo Suikov <pavlo.suikov@globallogic.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Delays on usleep calls
Date: Fri, 24 Jan 2014 18:08:24 +0100 [thread overview]
Message-ID: <1390583304.3869.182.camel@Solace> (raw)
In-Reply-To: <CAE4oM6zDKTX_xi6Kz9HhweD4n0bwEBqoqmTDTFsiniQEzKUvpQ@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1839 bytes --]
On gio, 2014-01-23 at 21:09 +0200, Pavlo Suikov wrote:
> Hi Dario,
>
> > Can I ask how the numbers (for DomU, of course) looks like now?
>
>
> They are all 31 ms, so minimal overhead is achieved. However, it looks
> like we still have some gremlins in there: from boot to boot this time
> can change to 39 ms. So without Xen scheduler being active sleep
> latency stabilizes, but not always on a correct value.
>
Wow... So, you're saying that, with the DomU exclusively pinned to a
specific pCPU, latency is stable, but the value at which it stabilizes
varies from boot to boot?
That's very weird...
> > Another thing I'll try, if you haven't done that already, is as
> follows:
> > - get rid of the DomU
> > - pin the 2 Dom0's vCPUs each one to one pCPU
> > - repeat the experiment
>
>
> Yeah, we have tried this as well and it gives us almost the same
> result as in previous case: sleep latency in dom0 is not present, so
> we get 30 to 31 ms on 30 ms sleep without any variations.
>
Ok. Are you aware of xentrace and xenalyze?
Have, for example, a look here:
http://blog.xen.org/index.php/2012/09/27/tracing-with-xentrace-and-xenalyze/
Perhaps you could, in this Dom0 case, you can start the tracing, start
the DomU and then run the experiments. It's going to be though to
correlate the actual activity in Dom0 (the test running inside it), with
the Xen's traces, but at least you should be able to see when, and try
to figure out why, the DomU, which should be just idle, ends up getting
in your way.
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: 181 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:[~2014-01-24 17:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-20 14:10 Delays on usleep calls Pavlo Suikov
2014-01-20 15:05 ` Dario Faggioli
2014-01-20 16:05 ` Pavlo Suikov
2014-01-20 17:31 ` Pavlo Suikov
2014-01-21 10:56 ` Dario Faggioli
2014-01-21 11:46 ` Dario Faggioli
2014-01-21 15:53 ` Pavlo Suikov
2014-01-21 17:56 ` Dario Faggioli
2014-01-23 19:09 ` Pavlo Suikov
2014-01-24 17:08 ` Dario Faggioli [this message]
2014-02-05 21:30 ` Robbie VanVossen
2014-02-07 9:22 ` Dario Faggioli
2014-02-13 21:09 ` Robbie VanVossen
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=1390583304.3869.182.camel@Solace \
--to=dario.faggioli@citrix.com \
--cc=pavlo.suikov@globallogic.com \
--cc=xen-devel@lists.xen.org \
/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).