From: Clark Williams <williams@redhat.com>
To: Stefan Roese <stefan.roese@gmail.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: cyclictest better values with system load than without (OMAP3530 target)
Date: Tue, 26 Nov 2013 10:12:32 -0600 [thread overview]
Message-ID: <20131126101232.21636c8f@sluggy> (raw)
In-Reply-To: <5294681E.10406@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2654 bytes --]
In my experience (on x86_64 mainly), that behavior (worse times when
not under load) is due to the overhead of coming out of power-save/idle
states. When you've got a big load on the system and all the cores are
active, then the power-save logic and/or the idle logic doesn't kick in
and devices aren't being powered down.
Do you know if your OMAP has power-save logic available? Alternatively
do you know how expensive the idle mechanism is? Have you tried booting
with idle=poll then measuring without a load?
Clark
On Tue, 26 Nov 2013 10:21:34 +0100
Stefan Roese <stefan.roese@gmail.com> wrote:
> 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
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-11-26 16:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=20131126101232.21636c8f@sluggy \
--to=williams@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=stefan.roese@gmail.com \
/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.