linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Carsten Emde <Carsten.Emde@osadl.org>
To: Tim Sander <tim01@vlsi.informatik.tu-darmstadt.de>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>
Subject: Re: Latest PreemptRT patch error on imx35
Date: Mon, 31 Aug 2009 13:48:23 +0200	[thread overview]
Message-ID: <4A9BB887.1040407@osadl.org> (raw)
In-Reply-To: <200908311143.08952.tim01@vlsi.informatik.tu-darmstadt.de>

Tim,

> I just bootet 2.6.31-rc8-rt9 on the phycore-imx35 development board, 
> without any additional patches. The FEC Ethernet Controller went belly 
> up, but the system booted nevertheless. I tried cyclictest:
> root@pmx:~ cyclictest -t1 -p 80 -n -i 10000 -l 10000
As a role of thumb, the -i option is normally set to twice the expected
latency. If, for example you expect 100 us, set it to -i200. Your loop
end is then reached 50 times faster, or - what is much better - you may
specify 50 times more loops for a test of the same duration which
considerably increases the quality of your assessment. Normally,
however, you would probably wait for 100 million or even a billion loops.

> 0.05 0.10 0.05 1/39 570
> T: 0 (  570) P:80 I:10000 C:  10000 Min:     14 Act:   20 Avg:   19 Max:      27
> These  are Numbers from an Idle Machine (no network), but they look really good.
With an average of 19 and a maximum of 27, the result is probably not
very relevant. This indicates that the CPU was idle most of the time
when the wakeup occurred - every OS can do this. The challenge of an
RTOS is to wakeup in time also when the kernel is not idle, e.g. from
kernel or driver code while a lock is held. Therefore, adequate stress
tools must be running during a latency measurement.

> They are much better than my last tests on the imx31 with an older preemptrt-kernel 
> (2.6.29) which had idle latencys up to 80µs. 
> Given the fact, that ftrace is enabled, this is really impressive progress!
Please keep in mind that ftrace configured is not ftrace enabled. To
enable it, use cyclictest's -f option or execute
  echo function >/sys/kernel/debug/tracing/current_tracer
  echo 1 >/sys/kernel/debug/tracing/tracing_enabled
from command line.


I hope that this hasn't tempered your joy with your new hardware.

	Carsten.
--
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

  reply	other threads:[~2009-08-31 12:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-31  9:43 Latest PreemptRT patch error on imx35 Tim Sander
2009-08-31 11:48 ` Carsten Emde [this message]
2009-08-31 13:40   ` Tim Sander
2009-08-31 13:22 ` Uwe Kleine-König
2009-08-31 15:29   ` Tim Sander
2009-08-31 16:37   ` [PATCH] " Tim Sander
2009-09-02  9:14   ` [PATCH 1/2] fec: fix recursive locking of mii_lock Uwe Kleine-König
2009-09-02  9:14     ` [PATCH 2/2] fec: don't enable irqs in hard irq context Uwe Kleine-König
2009-09-03  1:14       ` Greg Ungerer
2009-09-03  6:17         ` David Miller
2009-09-07 14:01           ` Uwe Kleine-König
2009-09-03  1:16     ` [PATCH 1/2] fec: fix recursive locking of mii_lock Greg Ungerer
2009-09-03  6:17       ` David Miller

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=4A9BB887.1040407@osadl.org \
    --to=carsten.emde@osadl.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=tim01@vlsi.informatik.tu-darmstadt.de \
    /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).