From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Donggu Kang <cdslashboot@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Interruption of sata hard driver's during real-time task running
Date: Fri, 21 Oct 2011 10:57:38 +0200 [thread overview]
Message-ID: <4EA13402.8010605@domain.hid> (raw)
In-Reply-To: <CAAtf-FfFezJdSr6w0YbStuVp8MdUxP+xLjw0LuvTAcdVuc8oXw@domain.hid>
On 10/21/2011 09:23 AM, Donggu Kang wrote:
> Dear all
>
>
> I tried to test of latnecy with a etherlab on the xenomai framework.
> The etherlab is ethercat master implimentation in the Linux Evironment
> and It's using normal ethernet interface card.
>
> In my test, I have found huge latency under hard disk stress situation.
> For making hard disk stress, I ran nomal linux process that is "while:
> do ls -lR / > /tmp/list; done & > /dev/ null".
> After than I also run xenomai task with etherlab master api.
>
> The latest latency is above a 500us. It is unacepptable on my system.
> When I run latency test tool of xenomai, the latency is under a 5us
I am a bit at a loss here. Is the latency 5us or 500us? If the 500us
latency is measured using a tool running through normal ethernet
interface card, it can not be considered a real-time task, even if the
task doing the measurement was created using one xenomai's skins, so the
latencies you measure are linux latlencies.
>
> I think the real-time task and communication of NIC is intercepted by
> hard disk IRQ.
>
> Is there any idea to prevent interruption of sata hard driver's during
> real-time task run.
When a real-time task runs in primary mode, it can not be interrupted by
any Linux interrupt. However, a real-time task using linux services
(such as linux network services), it will switch to secondary mode, and
a linux irq will be able to interrupt it.
--
Gilles.
next prev parent reply other threads:[~2011-10-21 8:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-21 7:23 [Xenomai-help] Interruption of sata hard driver's during real-time task running Donggu Kang
2011-10-21 8:57 ` Gilles Chanteperdrix [this message]
[not found] ` <CAAtf-FdauMEM4s7xUNjm7GKEvUE6di5f=h-yU9Qxbwh1Y5yPZw@domain.hid>
2011-10-31 13:10 ` Gilles Chanteperdrix
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=4EA13402.8010605@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=cdslashboot@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.