linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Roese <stefan.roese@gmail.com>
To: linux-rt-users@vger.kernel.org
Subject: cyclictest better values with system load than without (OMAP3530 target)
Date: Tue, 26 Nov 2013 10:21:34 +0100	[thread overview]
Message-ID: <5294681E.10406@gmail.com> (raw)

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

             reply	other threads:[~2013-11-26  9:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-26  9:21 Stefan Roese [this message]
2013-11-26 14:21 ` cyclictest better values with system load than without (OMAP3530 target) 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

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=5294681E.10406@gmail.com \
    --to=stefan.roese@gmail.com \
    --cc=linux-rt-users@vger.kernel.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 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).