All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Cyclictest
Date: Thu, 07 Jun 2007 11:41:32 +0200	[thread overview]
Message-ID: <4667D2CC.2060006@domain.hid> (raw)
In-Reply-To: <4667D167.9030001@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 1670 bytes --]

Gilles Chanteperdrix wrote:
> Jan Kiszka wrote:
>> Gilles Chanteperdrix wrote:
>>
>>> Jan Kiszka wrote:
>>>
>>>> Perrine Martignoni wrote:
>>>>
>>>>
>>>>> Ok. I'll do this.
>>>>>
>>>>> But I don't understand why the same application compiled without any links
>>>>> with Xenomai give different results if there is Xenomai in the kernel.
>>>> [Looking at your numbers again] Hmm, maybe some rounding issue of ticks
>>>> due to whatever side-effect of I-pipe. We would first of all need the
>>>> usual set of information (.config, involved versions) and also
>>>> /sys/devices/system/clocksource/clocksource0/current_clocksource.
>>> Maybe what Perrine is observing is simply the overhead of the I-pipe ?
>>> I mean, Linux is Xenomai idle task, so it is acceptable for Linux
>>> numbers to be a bit worse than when Xenomai is not running.
>>
>> I bit worse is expected. But I think we are seeing 1 or 2 ticks wake-up
>> delays here. As far as I understood, they are not due to Xenomai
>> consuming significant cycles in the background, are they, Perrine?
> 
> What I see is latencies 5us longer. 5us on ARM is almost nothing, keep
> in mind that a simple syscall on ARM already takes 10 us.
> 

T: 0 (  732) P:99 I:   10500 C:    2291 Min:      41 Act:    2281 Avg:    5075 Max:   10224 

vs.

T: 0 (  893) P:99 I:   10000 C:    1756 Min:   13407 Act:   13536 Avg:   13452 Max:   13693 

Thus the _minimum_ and the _average_ wakeup time of a Linux task
increase fairly significant here. That's the point. Given a reasonable
runtime of both test, this /could/ be considered as a regression of a
Xenomai-enabled Linux kernel.

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-06-07  9:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-06 15:01 [Xenomai-help] Cyclictest Perrine Martignoni
2007-06-06 15:04 ` Daniel Schnell
2007-06-06 15:18   ` Philippe Gerum
2007-06-07  5:54     ` Perrine Martignoni
2007-06-07  6:48       ` Jan Kiszka
2007-06-07  7:42         ` Perrine Martignoni
2007-06-07  8:03           ` Jan Kiszka
2007-06-07  9:25             ` Gilles Chanteperdrix
2007-06-07  9:29               ` Jan Kiszka
2007-06-07  9:35                 ` Gilles Chanteperdrix
2007-06-07  9:41                   ` Jan Kiszka [this message]
2007-06-07 10:12                     ` Gilles Chanteperdrix
2007-06-07 10:07               ` Philippe Gerum
2007-06-07 10:17                 ` Philippe Gerum
2007-06-07 12:09                   ` Perrine Martignoni
2007-06-07 12:20                     ` Gilles Chanteperdrix
2007-06-07 12:28                       ` Perrine Martignoni
2007-06-07 12:32                         ` Gilles Chanteperdrix
2007-06-07 13:49                           ` Perrine Martignoni
2007-06-07 13:58                             ` Gilles Chanteperdrix
2007-06-07 14:36                               ` Gilles Chanteperdrix
2007-06-06 15:11 ` Jan Kiszka

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=4667D2CC.2060006@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.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 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.