public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Schiffner <bernhard@schiffner-limbach.de>
To: linux-rt-users@vger.kernel.org
Subject: Re: Some benchmark results
Date: Mon, 25 Aug 2014 16:14:11 +0200	[thread overview]
Message-ID: <1657147.MGSNxR1uXh@bs8> (raw)
In-Reply-To: <53FAFBA8.3050009@monom.org>

Am Montag, 25. August 2014, 11:02:32 schrieb Daniel Wagner:
> Hi,
> 
> I wanted to know how good or bad mainline vs RT is, therefore I let
> MMTests torture my laptop for a while. I selected a few of the supported
> benchmarks by MMTests in order to keep to a reasonable time frame.
> 
> The aim was to see the impact of normal (no RT) workloads with different
> preempt configurations on mainline and RT patched kernel. I tried to not
> to change other configuration flags except the preempt one. There are
> some small difference due to dependencies but the rest looks ok to me.
> 
> http://www.monom.org/rt/mmtests/
> 
> Suggestion, improvements, comments?
> 
> cheers,
> daniel
> 
> --
> 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

Hi Daniel,

I had a first look at the above mentioned page.

The thing I'am complety missing in the huge amount of numbers is: What is your 
demand, your primary topic to solve in or with RT?
And as I interprete the numbers: a RT kernel is a little bit more CPU-hungry 
then normal and this is nothing new.
---

Until now it's usual to characterize RT performance in terms of (missed) 
maximum latencies.

You define your specialized workload, run it with RT priorities and check if 
it fits its demands. BTW you can verify and document this over the lifetime of 
your hardware/software combination.
If misses happen it is mostly possible to track the problem down to the 
culprit piece of soft- or hardware. If so, an iteration process starts 
hopefully before real damage happens.

A measure to "stress" your workload in a conceptional phase is putting more or 
less unrelated software on your machine until you quasi saturate their 
ressources (I/O, interrupt, drivers, schedulers, CPU, memory, network). If 
your primary workload survives you'll get a much better feeling but still no 
guarantees.

Next is to understand and accept that certain parts even of a RT kernel are 
_not_ designed to guarantee limited latencies (memory allocation, disk-IO, 
suspend-resume comes to mind). If you trigger them in your RT task: back to 
start. If you trigger them elsewhere: perhaps it still works.

I hope this helps to understand the situation a little bit better.
Nevertheless thanks for the patience to do and document all the tests.


Bernhard

  reply	other threads:[~2014-08-25 14:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25  9:02 Some benchmark results Daniel Wagner
2014-08-25 14:14 ` Bernhard Schiffner [this message]
2014-08-28  6:11   ` Daniel Wagner

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=1657147.MGSNxR1uXh@bs8 \
    --to=bernhard@schiffner-limbach.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox