All of lore.kernel.org
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: linux-rt-users@vger.kernel.org
Subject: Strange behaviour on MPC5200
Date: Thu, 07 Oct 2010 16:44:58 +0200	[thread overview]
Message-ID: <m2pqvmhxjp.fsf@ohwell.denx.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 1325 bytes --]

Hi,

during tests with the rt-preempt kernel on PowerPC, I stumbled across
this really weird phenomenon of cyclictest latencies > 30ms.  The test
system is a TQM5200 supported mainline, so the complete kernel source is
unmodified mainline + rt-patch.  The -00001 in the kernel revision is
due to the fact that I commited the results of applying the respective
rt-patch to my local git repo.

To debug the problem, I turned the latency tracers on and started
cyclictest with 'cyclictest -n -p80'.  This looks quite good, hackbench
and the cache calibrator do not do much harm, _until_ I start to do a
ping flood from outside.  Then within a few seconds the high latencies
occur.  To test for a regression, I did the same test under
2.6.33.7-rt29 and 2.6.31.12-rt21.  Both versions yield similar results.

Attached are the trace outputs for those events (gziped as they are
larger than 300KiB).  

It looks like the scheduling goes completely wrong as there is even the
idle task running before the runnable cyclictest gets scheduled in.  Can
someone give me a hint on what may be wrong here?

Thanks
  Detlev

--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu@denx.de

[-- Attachment #2: rt-2.6.33.7-latency-39516us.gz --]
[-- Type: application/octet-stream, Size: 37319 bytes --]

[-- Attachment #3: rt-2.6.31.12-latency-33568us.gz --]
[-- Type: application/octet-stream, Size: 35313 bytes --]

             reply	other threads:[~2010-10-07 14:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-07 14:44 Detlev Zundel [this message]
2010-10-08  2:07 ` Strange behaviour on MPC5200 walimis

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=m2pqvmhxjp.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --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 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.