From: Konstantinos Chalas <konchalas@gmail.com>
To: Philippe Gerum <rpm@xenomai.org>, xenomai@xenomai.org
Subject: Re: [Xenomai] Cyclictest in Xenomai-3
Date: Sun, 30 Aug 2015 22:33:33 +0200 [thread overview]
Message-ID: <55E3689D.7060105@gmail.com> (raw)
In-Reply-To: <55E0607D.3070701@xenomai.org>
It wasn't innocuous... The variable uint64_t diff was used to store the
latency, which in turn took the value -1 because of the timer
calibration issue , therefore when casted as unsigned produced 2^64-1.
It works as it should after running autotune.
Thank you very much for the help,
Konstantinos
On 08/28/2015 03:22 PM, Philippe Gerum wrote:
> On 08/28/2015 03:13 PM, Konstantinos Chalas wrote:
>> No, besides a negative lat best value, like this:
>>
>> RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat
>> best|--lat worst
>> RTD| 1.080| 3.013| 40.080| 0| 0|
>> -1.275| 43.961
> Ok, that one is innocuous, this is only a timer calibration issue. The
> strange average value may be an issue in cyclictest since 2147483647 is
> 2^31-1, which is INT32_MAX. A bit like no sample had been recorded
> during such run.
>
>> On 08/28/2015 02:59 PM, Philippe Gerum wrote:
>>> On 08/28/2015 02:51 PM, Konstantinos Chalas wrote:
>>>> Hello,
>>>>
>>>> root@beaglebone:~# uname -a
>>>> Linux beaglebone 3.14.44+ #1 SMP PREEMPT Wed Aug 26 23:41:20 CEST 2015
>>>> armv7l GNU/Linux
>>>>
>>>> and ipipe-core-3.14.44-arm-12
>>>>
>>> Do you have any weird values appearing during a standard latency test?
>>> e.g.
>>>
>>> # latency [-t0]
>>>
>>>> Thanks
>>>>
>>>> On 08/28/2015 02:46 PM, Philippe Gerum wrote:
>>>>> On 08/28/2015 02:37 PM, Konstantinos Chalas wrote:
>>>>>> Great! Now, it is much better! Thanks for the interest.
>>>>>>
>>>>>> I have noticed something else, when using clock_nanosleep, there is
>>>>>> something wrong going on. Example output with clock_nanosleep:
>>>>>>
>>>>>> root@beaglebone:~# cyclictest -p 99 -i 250 -n
>>>>>> # /dev/cpu_dma_latency set to 0us
>>>>>> policy: fifo: loadavg: 1.13 1.18 1.15 1/243 2385
>>>>>>
>>>>>> T: 0 ( 2384) P:99 I:250 C: 122168 Min: 0 Act: 9
>>>>>> *Avg:2147483647*
>>>>>> Max: -1
>>>>>>
>>>>>> The Avg value jumps to this insane number.
>>>>>> I didn't find any differences between the vanilla cyclictest and the
>>>>>> xenomai-2.6 upstream cyclictest regarding the use of clock_nanosleep.
>>>>>> Any ideas of where this behaviour would come from?
>>>>> Which kernel and I-pipe release are you running?
>>>>>
>>
>
next prev parent reply other threads:[~2015-08-30 20:33 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-27 14:53 [Xenomai] Cyclictest in Xenomai-3 Konstantinos Chalas
2015-08-27 15:10 ` Philippe Gerum
2015-08-27 15:55 ` Konstantinos Chalas
2015-08-28 8:04 ` Philippe Gerum
2015-08-28 12:37 ` Konstantinos Chalas
2015-08-28 12:46 ` Philippe Gerum
2015-08-28 12:51 ` Konstantinos Chalas
2015-08-28 12:59 ` Philippe Gerum
2015-08-28 13:13 ` Konstantinos Chalas
2015-08-28 13:22 ` Philippe Gerum
2015-08-30 20:33 ` Konstantinos Chalas [this message]
2015-08-31 8:22 ` Philippe Gerum
-- strict thread matches above, loose matches on Subject: below --
2015-10-03 9:35 林展翔
2015-10-03 9:41 ` Philippe Gerum
2015-10-03 9:46 ` Philippe Gerum
2015-10-04 12:43 ` 林展翔
2015-10-04 13:00 ` 林展翔
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=55E3689D.7060105@gmail.com \
--to=konchalas@gmail.com \
--cc=rpm@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.