From: Jan Kiszka <jan.kiszka@web.de>
To: Madan Sondur <sondur.madan23@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] CyclicTest query on Xenomai
Date: Tue, 30 Jun 2015 12:54:15 +0200 [thread overview]
Message-ID: <55927557.3000208@web.de> (raw)
In-Reply-To: <CAJt3u5mK=rn2cN7xWQM8z5XQ8dXYGUorzJ_KQ1Sv1ehu-0xvmA@mail.gmail.com>
On 2015-06-30 12:45, Madan Sondur wrote:
> On Tue, Jun 30, 2015 at 11:10 AM, Jan Kiszka <jan.kiszka@web.de> wrote:
>
>> Please don't top-post.
>>
>> On 2015-06-30 05:34, Madan Sondur wrote:
>>> I stress tested the system for an hour using Pi-stress and pumping huge
>>> amount of data through usb3.0 and I perf at network. What I have
>> observed
>>> is cyclictest from usr/xenomai/bin behaves differently, only the first
>>> thread completes then after all the other threads execute very slowly,
>> you
>>> can see the count value.
>>>
>>> But the cyclictest that was downloaded from net completes all the threads
>>> and exits.
>>>
>>> The results of sample tests for 5000 loops are as shown.
>>>
>>> Xenomai cyclictest T1 count is 120, where as cyclictest which is from net
>>> has T1 count of 4546.
>>>
>>> Why is this behaviour?
>>
>> Xenomai uses different interval spreading than rt-test, see your
>> outputs. There is probably a bug in the Xenomai version of cyclictest,
>> getting some order of magnitude wrong with the default settings. Should
>> be easy to fix.
>>
>
> Can you tell me what are the default settings for fixing this ?
cyclictest -d <distance>
>
>>
>> The fact that you see over 300 µs worst-case latencies with vanilla
>> cyclictest on a standard kernel and that you don't get this with the
>> same test program over a Xenomai kernel, indicates that your test method
>> was not correct, e.g. that load was affecting only the other cores.
>> Xenomai does not improve the latencies of normal applications.
>>
>
>
> How do you say the vanilla cyclictest should not perform better in xenomai
> kernel than in standard kernel ?,
> vanilla cyclictest is using posix calls which xenomai supports (posix api
> interface) for hard real time.
>
> All the cores are shot up to 100% with pi_stress. only the first core was
> around 90% for traffic handling in usb 3.0 and Ethernet.
>
> i don't think Vanilla cyclictest is a normal application.
Did you build the vanilla version against Xenomai libs using the
xeno-config provided parameters? Then the situation could be different.
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://xenomai.org/pipermail/xenomai/attachments/20150630/d9439dac/attachment.sig>
next prev parent reply other threads:[~2015-06-30 10:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-26 6:16 [Xenomai] CyclicTest query on Xenomai Madan Sondur
2015-06-29 5:33 ` Madan Sondur
2015-06-29 6:25 ` Jan Kiszka
2015-06-30 3:34 ` Madan Sondur
2015-06-30 5:40 ` Jan Kiszka
2015-06-30 10:45 ` Madan Sondur
2015-06-30 10:54 ` Jan Kiszka [this message]
2015-06-30 11:10 ` Madan Sondur
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=55927557.3000208@web.de \
--to=jan.kiszka@web.de \
--cc=sondur.madan23@gmail.com \
--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.