From: mjr@tis.com (Marcus J Ranum)
Subject: Re: MIPS/SGI software for MIPS DECstations?
Date: 28 Feb 1993 17:55:48 GMT [thread overview]
Message-ID: <1mqub4INN3o5@sol.tis.com> (raw)
In-Reply-To: 2171@niktow.canisius.edu
pavlov@niktow.canisius.edu (Greg Pavlov) writes:
>
> SGI has always seemed to get better (sometimes MUCH better) systems perfor-
> mance from a given MIPS processor than DEC. Don't know if it's the soft-
> ware, better support hardware, or a combination of both .....
Sometimes it's as simple as running under the latest/greatest version
of the compiler. I was once involved in benchmarking a DECsystem500/240
against an SGI Indigo. By clock and processor speeds, the 5000/240 should
have been a tad under twice as fast. First time we ran the benchmark the
SGI was 6 times faster. A little pixiefying identified malloc() as the
culprit and once that was replaced with the BSD version, the systems ran
with the 5000/240 showing a slight edge.
Further experiments with pixie indicated that the 5000/240 was
executing an average of 1.7 instructions for every 1 that the SGI did.
This was more or less across the board, including in the C support
libraries. A simple call to fprintf() on the SGI [an isolated case I
measured] used almost half as many instructions. Pretty depressing.
The DECsystems's compiler was a rev behind the SGI machine - I don't
know if that was the sole cause of the difference. The net effect
was that the DECsystem was a faster box but was wasting most of its
energy.
IMHO, too many vendors neglect software tuning in favor of
just making faster boxes. Investing money in optimising the C library
pays off across the entire product line. Most vendors focus on
kernel optimizations, which is good, but there's still a lot of
room for improvement! I once suggested building a system with some
form of profiling support for all C library routines. You count the
number of cycles system-wide that are spent in a given routine, and
let the machine run under normal workload for a month or two. Then
identify the top functions in cycle usage overall and rework them
or tune the assembler, or whatever. If my experience in the benchmark
is any indication, a well-tuned c library is worth a clock speedup. ;)
Pyramid, back in the 9020 days, used to do this, and would re-write
the "hot" C library and FORTRAN library routines in assembler.
mjr.
prev parent reply other threads:[~1993-02-28 17:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-02-23 18:21 MIPS/SGI software for MIPS DECstations? Paul Wilson
1993-02-27 16:37 ` Greg Pavlov
1993-02-28 17:55 ` Marcus J Ranum [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox