All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] negative values of latency/klatency
@ 2006-02-27 16:12 Rudolf Marek
  2006-02-28 12:33 ` Jan Kiszka
  0 siblings, 1 reply; 6+ messages in thread
From: Rudolf Marek @ 2006-02-27 16:12 UTC (permalink / raw)
  To: xenomai

Hello all,

I tried the latency and klatency demo on some PPC procesor(s) (e500 and 60x) and the measurement results are rather strange.
I observed this with arbitrary version of Adeos/ipipe and on Xenomai 2.0.3 older 2.0.x too.

-sh-3.00# ./run -- -T 10 -h -l 5
...
RTT|  00:00:01
RTH|----klat min|----klat avg|----klat max| overrun|---klat best|--klat worst
RTD|       -4525|       -4323|        5777|       0|       -4525|        5777
RTD|       -4525|       -4444|       -1777|       0|       -4525|        5777
RTD|       -4525|       -4444|        -565|       0|       -4525|        5777
RTD|       -4525|       -4444|       -1656|       0|       -4525|        5777
RTD|       -4525|       -4444|       -1979|       0|       -4525|        5777
RTT|  00:00:06
RTH|----klat min|----klat avg|----klat max| overrun|---klat best|--klat worst
RTD|       -4525|       -4444|       -2020|       0|       -4525|        5777
RTD|       -4525|       -4444|       -1050|       0|       -4525|        5777
RTD|       -4525|       -4444|       -1616|       0|       -4525|        5777
RTD|       -4525|       -4444|       -1898|       0|       -4525|        5777
RTD|       -4525|       -4444|       -1939|       0|       -4525|        5777
...
Well if I set scheduling latency from automatic "0" to "1" I get:

-sh-3.00# ./run -- -T 10 -h -l 5

RTT|  00:00:01
RTH|----klat min|----klat avg|----klat max| overrun|---klat best|--klat worst
RTD|        4767|        4929|       15191|       0|        4767|       15191
RTD|        4767|        4808|        8282|       0|        4767|       15191
RTD|        4767|        4808|        8080|       0|        4767|       15191
RTD|        4808|        4808|        7838|       0|        4767|       15191
RTD|        4767|        4808|        7272|       0|        4767|       15191
RTT|  00:00:06
RTH|----klat min|----klat avg|----klat max| overrun|---klat best|--klat worst
RTD|        4808|        4808|        7555|       0|        4767|       15191
RTD|        4767|        4808|        7959|       0|        4767|       15191
RTD|        4767|        4808|        7393|       0|        4767|       15191
RTD|        4808|        4808|        7191|       0|        4767|       15191
RTD|        4767|        4808|        7313|       0|        4767|       15191

Is this a bug or feature please? Can someone throw the light?
Good would be to print the units to the numbers too (ns).


Thank you,

Regards,
Rudolf

chipset         : 8541E
Vendor          : Freescale Semiconductor
Machine         : CDS - MPC8541E (11)
clock           : 396MHz



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-02-28 15:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-27 16:12 [Xenomai-help] negative values of latency/klatency Rudolf Marek
2006-02-28 12:33 ` Jan Kiszka
2006-02-28 12:52   ` Philippe Gerum
2006-02-28 13:02     ` Philippe Gerum
2006-02-28 14:13   ` [Xenomai-core] " Jan Kiszka
2006-02-28 15:22     ` Philippe Gerum

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.