Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mjr@tis.com (Marcus J. Ranum)
Subject: Re: Our DEC Alpha is the slowest on this code ....
Date: 27 Aug 1993 13:55:09 GMT	[thread overview]
Message-ID: <25l3nt$l15@sol.TIS.COM> (raw)
In-Reply-To: 25juna$n5e@polaris.unm.edu

espen@unm.edu (Peter Espen) writes:
>We have come across some sort of weakness on the Dec Alpha that causes
>a real slowdown in execution speed.  Even the Apple Quadra 900 running A/UX
>runs rings around the Alpha on the following little test program.  Anyone
>know why?
> [source deleted]

	The test program you posted is entirely file I/O -- so what
you're measuring is the implementation of the filesystem and I/O
system calls more than the speed of the processor chip. It's not a
question of "execution speed", it's a totally I/O bound application.
Try running it on the Alpha with a RAM disk and see how fast it is. ;)

	That being said, you've got major differences between the
various implementations of the filesystems on the boxes you list. It
also depends on the sizes of the buffer caches, and the cache flushing
strategy that the system in question uses. ULTRIX used to get bitten
by the same "benchmark" you posted, because it queues blocks for write
immediately after the cache is updated, while other systems such as
SunOs queue blocks for deferred write. There used to be (still is,
no doubt) a value in the ULTRIX kernel (delay_wbuffers) that could
be enabled, to prevent this type of behavior if an application required
it. In fact, the code you post looks suspiciously like the random
write "benchmark" that Sun sales support folks were urging people to
run against ULTRIX boxes, because it was designed with knowledge of
how ULTRIX' filesystem worked to make it look bad. Where did you say
you got that code? :)

	Filesystems are the land of infinite tradeoffs. You can
always find a test that will make any given filesystem look worse
than another [running it on an RA-81 is a simple means ;)]   I
haven't got access to OSF/1 or an Alpha or benchmarks for their
filesystem, but if you want more accurate information for how a
given box's filesystem throughput is, I suggest you look at
something like Unix World's tested mettle column, and see how
the various systems stack up. Their I/O benchmarks are a little
broader and more general.

mjr.


  parent reply	other threads:[~1993-08-27 13:55 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-08-27  3:23 Our DEC Alpha is the slowest on this code Peter Espen
1993-08-27  9:29 ` Terry Kennedy, Operations Mgr.
1993-08-27 13:55 ` Marcus J. Ranum [this message]
1993-08-27 15:24   ` Brent McClure
1993-08-28 18:32     ` Fred Morris
1993-08-27 14:22 ` Dirk Grunwald
1993-08-27 16:16 ` Martin Minow
1993-08-27 21:40 ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
1993-09-02 14:55   ` delay_wbuffers (was Re: Our DEC Alpha is the slowest on this code ....) John Hascall
1993-09-02 18:16     ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
1993-08-27 22:29 ` Our DEC Alpha is the slowest on this code Dirk Grunwald
1993-08-28 15:35 ` Roland Meier
1993-08-29 16:54   ` Dirk Grunwald
1993-08-31 12:35     ` Jari Tavi
1993-09-02  3:35       ` Thor Lancelot Simon
  -- strict thread matches above, loose matches on Subject: below --
1993-09-07 12:44 Brent Sterner
1993-09-08  0:20 ` Russ Jones
1993-09-08 13:26   ` Brent Sterner
1993-09-08 18:10     ` Alan Rollow - Alan's Home for Wayward Tumbleweeds.
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