Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@oss.sgi.com>
To: Wayne Gowcher <wgowcher@yahoo.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: Benchmark performance
Date: Tue, 14 Aug 2001 09:51:52 +0200	[thread overview]
Message-ID: <20010814095152.A5928@bacchus.dhis.org> (raw)
In-Reply-To: <20010813173446.61234.qmail@web11901.mail.yahoo.com>; from wgowcher@yahoo.com on Mon, Aug 13, 2001 at 10:34:46AM -0700

On Mon, Aug 13, 2001 at 10:34:46AM -0700, Wayne Gowcher wrote:

> I have been running the nbench-byte-2.1 benchmark on a
> mips r4k processor with various combinations of kernel
> and distribution packages. I initially started with a
> 2.4.2 kernel using the redhat 5.1 distribution found
> on the SGI mips site. I compiled nbench native on the
> target with redhat mounted via nfs. I used this as my
> base.
> 
> I then ran a 2.4.6 kernel on the same mips 4k
> processor, but this time with the redhat 7.0
> distribution. I compiled native using the
> distributions compiler. This resulted in :
> 
> a 3 % reduction in the Memory Index benchmark
> a 2 % increase in the Integer Index benchmark
> a 23 % reduction in the Floating Point Index benchmark

Small fluctuations in the range of 2 or 3 percent are usually explained
by a changing usage pattern of the caches.  Therefore rerunning a the
benchmarks is a good idea.  Especially microbenchmarks a la lmbench on
caches of low associativity like the direct mapped R4k caches are extremly
easily affected by cache usage patterns.

Did you get any kernel messages during the Floating Point Index benchmark
on the older kernel?

> a, has suggestions on how to optimize compiler
> performance.
> 
> b, may know why performance seems to degrade with a
> newer kernel and with a newer distribution ? newer
> compiler ?

Gcc 3.0 has been reported to produce slightly slower code than it's
predecessor by many people on various architecture.  I'm sad to find that
MIPS is also one of them.

As for the kernel - I don't really know; your analysis isn't fine grained
enough.  I don't run kernel benchmarks religiously on every version but
what I can say my number have in part risen dramatically.

> c, any other tips for improving kernel / application
> performance.

Successful tuning requires a detailed analysis first.

  Ralf

  parent reply	other threads:[~2001-08-14  8:59 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-09 15:35 Problem with PMAD-AA / DECStation 5000/200 Armin F. Gnosa
2001-08-09 15:35 ` Armin F. Gnosa
2001-08-09 15:51 ` Florian Lohoff
2001-08-09 16:20   ` Jan-Benedict Glaw
2001-08-09 16:22     ` Martin Schulze
2001-08-09 16:35       ` Jan-Benedict Glaw
2001-08-10  9:00         ` Maciej W. Rozycki
2001-08-10  9:10           ` Jan-Benedict Glaw
2001-08-10  9:11     ` Maciej W. Rozycki
2001-08-10 13:32       ` Armin F. Gnosa
2001-08-10 13:32         ` Armin F. Gnosa
2001-08-13 11:30         ` Maciej W. Rozycki
2001-08-10  0:29   ` Problems mounting RedHat 7.0 or 7.1 from oss.sgi site Wayne Gowcher
2001-08-10  4:55     ` H . J . Lu
2001-08-13 17:34       ` Benchmark performance Wayne Gowcher
2001-08-13 17:34         ` Wayne Gowcher
2001-08-14  7:51         ` Ralf Baechle [this message]
2001-08-14 15:29           ` Wayne Gowcher
2001-08-16  3:56         ` Atsushi Nemoto
2001-08-16  7:43           ` Carsten Langgaard
2001-08-16  9:11           ` Kevin D. Kissell
2001-08-16  9:11             ` Kevin D. Kissell
2001-08-16 11:06             ` Ralf Baechle
2001-08-16 11:15             ` Atsushi Nemoto
2001-08-16  9:18           ` Ralf Baechle
2001-08-16 11:07             ` Carsten Langgaard
2001-08-16 11:14               ` Ralf Baechle
2001-08-24  9:06                 ` Atsushi Nemoto
2001-08-24 18:27                   ` Ralf Baechle
2001-08-10  8:54   ` Problem with PMAD-AA / DECStation 5000/200 Armin F. Gnosa
2001-08-10  8:54     ` Armin F. Gnosa
2001-08-10 10:33     ` Florian Lohoff
2001-08-12 20:32       ` Ralf Baechle
2001-08-12 20:40         ` Armin F. Gnosa
2001-08-12 20:40           ` Armin F. Gnosa
2001-08-12 20:41         ` Jan-Benedict Glaw
2001-08-13  9:58           ` Ralf Baechle

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=20010814095152.A5928@bacchus.dhis.org \
    --to=ralf@oss.sgi.com \
    --cc=linux-mips@oss.sgi.com \
    --cc=wgowcher@yahoo.com \
    /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