All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carsten Emde <Carsten.Emde@osadl.org>
To: sashka@mail.ru
Cc: linux-rt-users@vger.kernel.org
Subject: Re: rt for newbie
Date: Fri, 28 Oct 2011 19:11:11 +0200	[thread overview]
Message-ID: <4EAAE22F.1000703@osadl.org> (raw)
In-Reply-To: <CADZpk3s-4kGZL01C+aYgqKnv09-YFS+Lo76Te2E_mT6A_gK_qg@mail.gmail.com>

Sashka,

> Did I understand you correctly, I need to disable Dynamic Ticks and
> Check for stack overflow?
Yes.

> If yes, then here are my results
Thank you.

> # cyclictest -m -Sp99 -i100 -d0
> # /dev/cpu_dma_latency set to 0us
> policy: fifo: loadavg: 0.01 0.09 0.05 2/122 2187
>
> T: 0 ( 2180) P:99 I:100 C:1969005 Min:      1 Act:    2 Avg:    1 Max:      10
> T: 1 ( 2181) P:99 I:100 C:1968946 Min:      1 Act:    2 Avg:    2 Max:      69
> T: 2 ( 2182) P:99 I:100 C:1968888 Min:      1 Act:    2 Avg:    2 Max:      12
> T: 3 ( 2183) P:99 I:100 C:1968829 Min:      1 Act:    2 Avg:    2 Max:      52
> T: 4 ( 2184) P:99 I:100 C:1968770 Min:      1 Act:    2 Avg:    1 Max:      10
> T: 5 ( 2185) P:99 I:100 C:1968712 Min:      1 Act:    5 Avg:    2 Max:       9
> T: 6 ( 2186) P:99 I:100 C:1968654 Min:      1 Act:    2 Avg:    2 Max:      55
> T: 7 ( 2187) P:99 I:100 C:1968594 Min:      1 Act:    2 Avg:    1 Max:      17
>
> CPU I've got is Xeon X5472  @ 3.00GHz
These data look very promising.

In a next step, you may want run a billion cycles (-l1000000000) which 
takes a bit more than a day and apply a load scenario that reflects the 
load to be expected under production conditions. This will provide 
already a good estimate of the worst-case latency of the system.

The worst-case latency can be reduced further, if you disable throttling:
# cd /sys/devices/system/cpu
# for i in cpu*/cpufreq/scaling_governor
 > do
 > echo performance >$i
 > done

	-Carsten.

  reply	other threads:[~2011-10-28 17:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-27 17:58 rt for newbie Sashka
2011-10-27 19:01 ` jordan
2011-10-27 19:47   ` Sashka
2011-10-27 20:47     ` jordan
2011-10-27 22:21     ` Carsten Emde
2011-10-28  7:37       ` Dennis Borgmann
2011-10-28 16:50         ` Carsten Emde
2011-10-28 13:29       ` Sashka
2011-10-28 17:11         ` Carsten Emde [this message]
2011-10-31  8:26           ` Dennis Borgmann

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=4EAAE22F.1000703@osadl.org \
    --to=carsten.emde@osadl.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=sashka@mail.ru \
    /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.