From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Gilles FRITZ <gillou365@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Strange issue : high latency for kernel task when a user task is stop
Date: Fri, 02 Oct 2009 09:36:28 +0200 [thread overview]
Message-ID: <4AC5AD7C.7010208@domain.hid> (raw)
In-Reply-To: <71396b5b0910020021n44f2bc22md97b14e389128486@domain.hid>
Gilles FRITZ wrote:
> Hi,
>
> I use Xenomai since not very long, but I have seen a strange behavior : when
> I stop a user-space task, my in-kernel task have a latency of about 500µs.
>
> I have observed that on Xenomai 2.4.8 and 2.3.4, on kernel 2.6.25.19 and
> 2.6.28.9.
>
> To observe that, I launch two latency test : one in user-space and the
> second in kernel-space
> latency -p 50 -t 1
> latency -p 70
>
> When I stop the second latency (in user-space), I can observe a latency of
> at least 500ms in the in-kernel task.
>
> I do not know if this is normal or not.
>
> Have you an explanation for that?
I do not think we have but:
- 50us and 70us are a bit short periods depending on the platform
(though it should not change anything to use larger periods), and you
did not tell us on what platform you are running xenomai
- the I-pipe patch proposes an option, the I-pipe tracer, which will
tell you exactly what happens during these 500us.
--
Gilles.
prev parent reply other threads:[~2009-10-02 7:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <71396b5b0910010109h5cb5912el7eee9d071ed23cda@domain.hid>
2009-10-02 7:21 ` [Xenomai-help] Strange issue : high latency for kernel task when a user task is stop Gilles FRITZ
2009-10-02 7:36 ` Gilles Chanteperdrix [this message]
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=4AC5AD7C.7010208@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=gillou365@domain.hid \
--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.