linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hartmut Behrens <hartmut.behrens@gmail.com>
To: Carsten Emde <C.Emde@osadl.org>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Improving ARM7 platform performance with CONFIG_PREEMPT_RT
Date: Wed, 12 Sep 2012 20:50:31 +0200	[thread overview]
Message-ID: <CA+69FtBs63aXUmrF-z2Lwt-G5Z2Xw9u12aF0orbamDi-sX0Nwg@mail.gmail.com> (raw)
In-Reply-To: <50507454.2030607@osadl.org>

Thank you - that did the trick.

By disabling  CONFIG_OMAP_32K_TIMER and the "frequency scaling power
saving stuff" I now have an average latency around 26usec and max
around 40usec.


On Wed, Sep 12, 2012 at 1:39 PM, Carsten Emde <C.Emde@osadl.org> wrote:
> Hartmut,
>
>
>> I have patched a 3.2 kernel for a OMAP compatible processor (ARM
>> Cortex A8) to be used on an Gumstix Overo with the CONFIG_PREEMPT_RT
>> patch.
>>
>> I have noticed that the latency of the patched kernel on this platform
>> is<300usec (using cyclictest), similar to what is reported for the
>> ARM9 platforms at
>> https://rt.wiki.kernel.org/index.php/CONFIG_PREEMPT_RT_Patch
>>
>> Is this the best performance that can be expected from ARM7/9 platforms?
>
> No, some of them have latencies below 100 us.
>
> For a comparison of the various ARM platforms, revisions and versions, you
> may refer to the OSADL QA Farm.
>
> Relatively long latencies (this is a know CPU cache issue):
> - Rack #2, Slot #1
>   ARM926EJ-S rev 4 (v5l), Phytec/phyCARD-i.MX27
>   Latency plot -> https://www.osadl.org/?id=990
> - Rack #2, Slot #2
>   ARMv7 rev 3 (v7l), Phytec/phyCARD-L OMAP3525
>   Latency plot -> https://www.osadl.org/?id=988
>
> Short latencies:
> - Rack #0, Slot #5
>   ARMv7 rev 5 (v7l), Freescale/MX53 Quickstart Board (LOCO)
>   Latency plot -> https://www.osadl.org/?id=1351
> - Rack #1, Slot #7
>   ARMv6-compatible rev 3 (v6l), (undisclosed)
>   Latency plot -> https://www.osadl.org/?id=1335
> - Rack #2, Slot #3
>   ARMv7 rev 7 (v7l), Texas Instruments/OMAP3517/AM3517 EVM
>   Latency plot -> https://www.osadl.org/?id=887
> - Rack #2, Slot #8
>   ARMv6-compatible rev 3 (v6l), Phytec/PhyCARD-M pca101
>   Latency plot -> https://www.osadl.org/?id=920
> - Rack #4, Slot #4
>   ARMv7 Processor rev 10 (v7l)x2, Texas Instruments OMAP4/Pandaboard
>   Latency plot -> https://www.osadl.org/?id=911
> - Rack #5, Slot #5
>   Feroceon 88FR131 rev 1 (v5l), Marvell/SheevaPlug
>   Latency plot -> https://www.osadl.org/?id=881
>
>
>> Could it be improved by using different kernel config settings - e.g.
>> CONFIG_LATENCY_TRACE=n  -
>> https://rt.wiki.kernel.org/index.php/Cyclictest mentions that latency
>> tracing adds significant kernel overhead?
>
> CONFIG_LATENCY_TRACE no longer is a valid kernel configuration item. But
> even if you configure a valid tracing configuration, this will not lead to a
> relevant increase of the system's latencies, since tracing must explicitly
> be enabled to become effective, such as
> # echo <your tracer here> >/sys/kernel/debug/tracing/current_tracer
> or using cyclictest's trace options.
>
> Of course, a particular kernel config may lead to long latencies. To check
> your kernel configuration, you may compare it to the kernel configurations
> of the OSADL QA Farm systems that are given at the bottom of the system
> profiles, the overview is here -> https://www.osadl.org/?id=1084.
>
> Hope this helps,
>         -Carsten.

  reply	other threads:[~2012-09-12 18:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-12 10:20 Improving ARM7 platform performance with CONFIG_PREEMPT_RT Hartmut Behrens
2012-09-12 11:27 ` Tim Sander
2012-09-12 11:39 ` Carsten Emde
2012-09-12 18:50   ` Hartmut Behrens [this message]
2012-09-12 19:01 ` Sven-Thorsten Dietrich
2012-09-12 20:29   ` Gilles Chanteperdrix
2012-09-12 20:22 ` Sven-Thorsten Dietrich
2012-09-13  6:58   ` Hartmut Behrens

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=CA+69FtBs63aXUmrF-z2Lwt-G5Z2Xw9u12aF0orbamDi-sX0Nwg@mail.gmail.com \
    --to=hartmut.behrens@gmail.com \
    --cc=C.Emde@osadl.org \
    --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).