linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Some benchmark results
@ 2014-08-25  9:02 Daniel Wagner
  2014-08-25 14:14 ` Bernhard Schiffner
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Wagner @ 2014-08-25  9:02 UTC (permalink / raw)
  To: linux-rt-users

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Some benchmark results
  2014-08-25  9:02 Some benchmark results Daniel Wagner
@ 2014-08-25 14:14 ` Bernhard Schiffner
  2014-08-28  6:11   ` Daniel Wagner
  0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Schiffner @ 2014-08-25 14:14 UTC (permalink / raw)
  To: linux-rt-users

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Some benchmark results
  2014-08-25 14:14 ` Bernhard Schiffner
@ 2014-08-28  6:11   ` Daniel Wagner
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Wagner @ 2014-08-28  6:11 UTC (permalink / raw)
  To: Bernhard Schiffner, linux-rt-users

Hi Bernhard,

On 08/25/2014 04:14 PM, Bernhard Schiffner wrote:
> 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?

Thanks looking at the numbers and the feedback from you. I really
appreciate that.

To your question: My goal is to help out to get this patch set merged
into mainline. I know an ambitious goal and I might be too incompetent
(I may suffering from the Dunning–Kruger effect. but hey, I am not the
one who recognize this).

So I figured the best thing is to start playing with different loads and
see how they compare to mainline and trying to understand why they are
different.

> And as I interprete the numbers: a RT kernel is a little bit more CPU-hungry 
> then normal and this is nothing new.

Sure, I am well aware that RT is  'a little bit more CPU-hungry', but I
wondered how much is a little and what are the effects of it?

I am doing those tests for myself to get a better understanding. I just
shared the results in case someone else finds them interesting. I should
have stated that more clearly to avoid burning time from you. Sorry
about that.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-28  6:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-25  9:02 Some benchmark results Daniel Wagner
2014-08-25 14:14 ` Bernhard Schiffner
2014-08-28  6:11   ` Daniel Wagner

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