From: Juan Antonio Garcia Redondo <juan-antonio.garcia@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: jagarcia@domain.hid, xenomai@xenomai.org
Subject: Re: [Xenomai-help] AT91SAM9260 latency
Date: Thu, 24 Jan 2008 10:41:50 +0100 [thread overview]
Message-ID: <20080124094150.GA7503@domain.hid> (raw)
In-Reply-To: <2ff1a98a0801230515i77f8c22bk866c4cd592a3a9b8@domain.hid>
On 23/01/08 14:15, Gilles Chanteperdrix wrote:
> On Jan 23, 2008 11:04 AM, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
> > On Jan 23, 2008 7:52 AM, Juan Antonio Garcia Redondo
> >
> > <juan-antonio.garcia@domain.hid> wrote:
> > > I see everything OK except for the first samples of cyclictests. Any comments ?
> >
> > The load you apply does not load the cache, which is a source of
> > jitter. You should run the cache calibrator (I do not find the cache
> > calibrator URL, but it is somewhere in Xenomai distribution or wiki).
>
> It is in the TROUBLESHOOTING guide, question "How do I adequately stress test".
>
> --
> Gilles Chanteperdrix
Thanks Gilles, I've done more tests using the cache calibrator from
http://www.cwi.nl/~manegold/Calibrator. The latency numbers are very
similar althought I've found an strange behaviour related to telnet
sessions.
Environment:
o Tests running from console over atmel serial port.
o A telnet session over on-chip ethernet.
o System without load.
./latency -p 500 -t0
== All results in microseconds
warming up...
RTT| 00:00:01 (periodic user-mode task, 500 us period, priority 99)
RTH|-RTH----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat
worst
RTD| 49.613| 52.190| 62.822| 0| 49.613| 62.822
RTD| 42.203| 52.512| 66.365| 0| 42.203| 66.365
Now If hit a key on the telnet session :
RTD| 36.726| 57.989| 109.536| 0| 31.572| 109.536 <-------- Here I've hit the key.
RTD| 36.404| 51.868| 69.587| 0| 31.572| 109.536
RTD| 35.760| 51.868| 73.775| 0| 31.572| 109.536
Now, I launch an script which executes four instances of cache
calibrator.
RTD| 45.103| 57.667| 75.708| 0| 32.538| 122.422
RTD| 45.425| 57.023| 76.030| 0| 32.538| 122.422
RTD| 46.069| 57.023| 75.708| 0| 32.538| 122.422
Now, I can hit a key on the telnet session without effects over latency
numbers:
RTD| 44.136| 57.989| 75.386| 0| 27.384| 128.221
RTD| 46.713| 57.345| 76.353| 0| 27.384| 128.221
RTD| 44.780| 57.345| 76.675| 0| 27.384| 128.221
RTD| 43.492| 56.701| 76.997| 0| 27.384| 128.221
Now I stop the calibrator process and launch 'ping -f -s2048 192.168.2.82' from an external
machine.
RTD| 40.270| 68.621| 90.850| 0| 27.384| 128.221
RTD| 36.082| 68.621| 88.273| 0| 27.384| 128.221
RTD| 40.592| 67.976| 91.494| 0| 27.384| 128.221
RTD| 41.237| 68.298| 89.239| 0| 27.384| 128.221
Now If hit a key on the telnet session :
RTD| 42.203| 67.976| 88.273| 0| 27.384| 128.221
RTD| 32.216| 93.427| 128.543| 0| 27.384| 128.543 <---------- Here I've hit the key.
RTD| 42.203| 68.298| 87.628| 0| 27.384| 128.543
And again the calibrator execution results on eliminate the strange
behaviour whith the telnet session.
Any clues ?
BTW, if finally the bad numbers on ARM are user-context switches related,
are you considering the ipipe upgrading to 2.6.23 ?
Regards,
Juan Antonio
next prev parent reply other threads:[~2008-01-24 9:41 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-23 6:52 [Xenomai-help] AT91SAM9260 latency Juan Antonio Garcia Redondo
2008-01-23 10:04 ` Gilles Chanteperdrix
2008-01-23 13:15 ` Gilles Chanteperdrix
2008-01-24 9:41 ` Juan Antonio Garcia Redondo [this message]
2008-01-24 10:02 ` Gilles Chanteperdrix
2008-01-25 10:04 ` Juan Antonio Garcia Redondo
2008-01-25 17:00 ` Gilles Chanteperdrix
2008-01-28 8:51 ` Juan Antonio Garcia Redondo
2008-01-28 9:21 ` Juan Antonio Garcia Redondo
2008-01-28 13:19 ` Gilles Chanteperdrix
2008-01-28 13:34 ` Jan Kiszka
2008-01-28 13:35 ` Gilles Chanteperdrix
2008-01-28 13:46 ` Jan Kiszka
2008-01-28 13:51 ` Gilles Chanteperdrix
2008-01-28 14:10 ` Jan Kiszka
2008-01-29 8:09 ` Juan Antonio Garcia Redondo
2008-01-29 8:35 ` Gilles Chanteperdrix
2008-01-29 17:19 ` Gilles Chanteperdrix
2008-01-30 9:03 ` Juan Antonio Garcia Redondo
2008-02-10 20:31 ` [Xenomai-core] " Gilles Chanteperdrix
2008-02-11 13:41 ` Jan Kiszka
2008-02-11 14:05 ` Gilles Chanteperdrix
2008-02-11 17:11 ` Jan Kiszka
2008-02-11 21:30 ` Gilles Chanteperdrix
2008-02-11 22:36 ` Gilles Chanteperdrix
2008-02-12 7:04 ` Gilles Chanteperdrix
2008-02-12 7:53 ` 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=20080124094150.GA7503@domain.hid \
--to=juan-antonio.garcia@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=jagarcia@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.