linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cyclictest better values with system load than without (OMAP3530 target)
@ 2013-11-26  9:21 Stefan Roese
  2013-11-26 14:21 ` Dmitry Lysenko
  2013-11-26 16:12 ` Clark Williams
  0 siblings, 2 replies; 12+ messages in thread
From: Stefan Roese @ 2013-11-26  9:21 UTC (permalink / raw)
  To: linux-rt-users

Hi!

I'm running cylictest on a OMAP3530 target board and am a bit
astonished about the results. Especially that the latency values
are better on a system with system load (hackbench) than on one
without system load. Here the values I get:

With system load (hackbench):
-----------------------------
# ./cyclictest -l 10000 -i 1000 -n -p 80 -q
# /dev/cpu_dma_latency set to 0us
T: 0 ( 1853) P:80 I:1000 C:  10000 Min:     36 Act:  156 Avg:  154 Max:
    244

Idle system:
------------
# ./cyclictest -l 10000 -i 1000 -n -p 80 -q
# /dev/cpu_dma_latency set to 0us
T: 0 ( 2332) P:80 I:1000 C:  10000 Min:     81 Act:  530 Avg:  484 Max:
    602


Some details to my test/system setup:
- Linux v3.8.13
- preempt-rt patch 3.8.13-rt14
- HW: TI OMAP3530 CM_T35 board
- Latest cyclictest from rt-tests git repository


I might have misconfigured the system. So here some extracts from
my .config:

...
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
...
# CONFIG_CPU_FREQ is not set
# CONFIG_CPU_IDLE is not set
# CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set
...
CONFIG_PREEMPT_RT_FULL=y
...

With CONFIG_NO_HZ disabled I get slightly better results:

With system load (hackbench):
-----------------------------
# ./cyclictest -l 10000 -i 1000 -n -p 80 -q
# /dev/cpu_dma_latency set to 0us
T: 0 ( 1840) P:80 I:1000 C:  10000 Min:     30 Act:  153 Avg:  154 Max:
    238

Idle system:
-------------
# ./cyclictest -l 10000 -i 1000 -n -p 80 -q
# /dev/cpu_dma_latency set to 0us
T: 0 ( 1371) P:80 I:1000 C:  10000 Min:     40 Act:  465 Avg:  435 Max:
    502


Any ideas/explanations are really appreciated.

Thanks,
Stefan

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

end of thread, other threads:[~2013-11-29 21:20 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26  9:21 cyclictest better values with system load than without (OMAP3530 target) Stefan Roese
2013-11-26 14:21 ` Dmitry Lysenko
2013-11-26 19:14   ` Stefan Roese
2013-11-26 20:14     ` Tim Sander
2013-11-26 16:12 ` Clark Williams
2013-11-29 12:56   ` Sebastian Andrzej Siewior
2013-11-29 15:10     ` Carsten Emde
2013-11-29 16:36       ` Gilles Chanteperdrix
2013-11-29 16:58         ` Gilles Chanteperdrix
2013-11-29 17:36           ` Carsten Emde
2013-11-29 19:34             ` Gilles Chanteperdrix
2013-11-29 21:10               ` Carsten Emde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).