mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Hudec <bulb@ucw.cz>
To: linux-kernel@vger.kernel.org
Subject: Re: [BENCHMARK] Corrected gcc3.2 v gcc2.95.3 contest results
Date: Tue, 24 Sep 2002 11:34:02 +0200	[thread overview]
Message-ID: <20020924093402.GB27205@vagabond> (raw)
In-Reply-To: <3D8FD580.F1320237@digeo.com>

On Mon, Sep 23, 2002 at 08:01:20PM -0700, Andrew Morton wrote:
> Con Kolivas wrote:
> > 
> > ...
> > n=5 for number of samples
> > 
> > Kernel          Mean    CI(95%)
> > 2.5.38          411     344-477
> > 2.5.39-gcc32    371     224-519
> > 2.5.38-mm2      95      84-105
> > 
> > The mean is a simple average of the results, and the CI(95%) are the 95%
> > confidence intervals the mean lies between those numbers. These numbers seem to
> > be the most useful for comparison.
> > 
> > Comparing 2.5.38(gcc2.95.3) with 2.5.38(gcc3.2) there is NO significant
> > difference (p 0.56)
> > 
> > Comparing 2.5.38 with 2.5.38-mm2 there is a significant diffence (p<0.001)
> > [SNIP...]
> > 
> > when I've run dozens of tests previously on the same kernel I've found that even
> > with a mean of 400 rarely a value of 80 will come up. Clearly this lowest score
> > does not give us the information we need.
> > 
> 
> I think this is really going way too far.  I mean, the datum which
> we take away from the above result is that 2.5.38 sucks. No more
> accuracy is required.

5 samples is about the minimum where you can compute the confidence
intervals and trust them to reasonable extent. We see, that it's enough
samples to compare to the -mm2. But we can't say anything about gcc32
compiled version.

> Yes, if the differences are small then a few extra runs may be needed
> to drill down into the finer margins.  The tester should be able to
> judge that during the test.  You get a feel for these things.
> 
> I believe that your time would be better spent developing and incorporating
> more tests (wider coverage) than worrying about super-high accuracy.

Accuracy is increased by just geting more samples. More tests are of
course important, but each must be run enough times so the results are
statisticaly significant.

> (And if there's more than a 1% variation between same kernel, compiled
> with different compilers then the test is bust.  Kernel CPU time is
> dominated by cache misses and runtime is dominated by IO wait.
> Quality of code generation is of tiny significance)

So we will need a lot runs to see if there is a difference...

-------------------------------------------------------------------------------
						 Jan 'Bulb' Hudec <bulb@ucw.cz>

  reply	other threads:[~2002-09-24  9:28 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.33.0209232236070.27095-100000@coffee.psychology.mcmaster.ca>
2002-09-24  2:45 ` Con Kolivas
2002-09-24  3:01   ` Andrew Morton
2002-09-24  9:34     ` Jan Hudec [this message]
2002-09-24 13:45     ` Denis Vlasenko
2002-09-24  9:26       ` Con Kolivas
2002-09-24 14:19         ` Denis Vlasenko
2002-09-24 15:47       ` Mark Hahn
2002-09-23  6:55 Con Kolivas
2002-09-23  7:49 ` Ingo Molnar
2002-09-23 10:30   ` Con Kolivas
2002-09-23 11:03     ` jw schultz
2002-09-23 12:47     ` Erik Andersen
2002-09-23 13:00       ` Con Kolivas
2002-09-23 13:15       ` Richard B. Johnson
2002-09-23 13:35         ` Ingo Molnar
2002-09-23 14:09           ` Richard B. Johnson
2002-09-23 18:24       ` Andrew Morton
2002-09-23 14:02     ` Ryan Anderson
2002-09-23 14:15       ` Richard B. Johnson
2002-09-23 14:24         ` Con Kolivas
2002-09-23 14:34           ` Jakub Jelinek
2002-09-23 16:03             ` Måns Rullgård
2002-09-23 14:43           ` Richard B. Johnson
2002-09-24 21:30             ` Bill Davidsen
2002-09-23 16:34           ` Oliver Xymoron
2002-09-23 21:47             ` Con Kolivas
2002-09-24  1:12               ` jw schultz
2002-09-24  9:18                 ` Jan Hudec
2002-09-23 14:26     ` Ingo Molnar
2002-09-23 14:36       ` Con Kolivas
2002-09-24 21:27   ` Bill Davidsen

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=20020924093402.GB27205@vagabond \
    --to=bulb@ucw.cz \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®