From: Robert Love <rml@tech9.net>
To: Christoph Stueckjuergen <christoph.stueckjuergen@siemens.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.1 Scheduler Latency Measurements (Preemption diabled/enabled)
Date: Tue, 03 Feb 2004 19:37:35 -0500 [thread overview]
Message-ID: <1075855055.8022.14.camel@localhost> (raw)
In-Reply-To: <200402031724.17994.christoph.stueckjuergen@siemens.com>
On Tue, 2004-02-03 at 17:24 +0100, Christoph Stueckjuergen wrote:
> The results are:
> "loaded" system, 10.000 samples
> average scheduler latency (preemption enabled / disabled): 170 us / 232 us
> minimum scheduler latency (preemption enabled / disabled): 49 us / 43 us
> maximum scheduler latency (preemption enabled / disabled): 840 us / 1063 us
>
> "unloaded" system, 10.000 samples
> average scheduler latency (preemption enabled / disabled): 50 us / 44 us
> minimum scheduler latency (preemption enabled / disabled): 46 us / 41 us
> maximum scheduler latency (preemption enabled / disabled): 233 us / 215 us
>
> Any help in interpreting the data would be highly appreciated. Especially:
> - Why does preemption lead to a higher minimum scheduler latency in the loaded
> case?
>
> - Why does preemption worsen scheduler latency on the unloaded system?
Overhead, I guess - the place where preemption ought to pay off is with
worst-case latency, where your results do show an improvement.
That said, I would of expected slightly better numbers. Although, note
that you are not measuring latency, you are measuring jitter.
Latency is time actual minus time expected. It thus requires some
notion of the absolute expected time. Without hardware support you
generally cannot measure this.
Jitter is measuring the time between successive events subtracted by the
expected duration, e.g. actual duration minus expected duration. It
requires no knowledge of the absolute time.
Jitter tends to approximate latency, so that is OK, but all it really
measures is the variance in results (the "jitter" between the
durations).
Most people mix the two up.
Robert Love
next prev parent reply other threads:[~2004-02-04 0:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-03 16:24 2.6.1 Scheduler Latency Measurements (Preemption diabled/enabled) Christoph Stueckjuergen
2004-02-04 0:19 ` Nick Piggin
2004-02-04 0:37 ` Robert Love [this message]
2004-02-18 3:41 ` Bill Davidsen
2004-02-18 4:07 ` Nick Piggin
2004-02-18 7:42 ` Christoph Stueckjuergen
-- strict thread matches above, loose matches on Subject: below --
2004-02-18 21:00 Roger Larsson
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=1075855055.8022.14.camel@localhost \
--to=rml@tech9.net \
--cc=christoph.stueckjuergen@siemens.com \
--cc=linux-kernel@vger.kernel.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