Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: minow@apple.com (Martin Minow)
Subject: Re: Our DEC Alpha is the slowest on this code ....
Date: Fri, 27 Aug 1993 16:16:53 GMT	[thread overview]
Message-ID: <minow-270893091017@minow.apple.com> (raw)
In-Reply-To: 25juna$n5e@polaris.unm.edu

In article <25juna$n5e@polaris.unm.edu>, espen@unm.edu (Peter Espen) wrote:
> Our company ports code to a lot of different unix systems... 
> ..
> We have come across some sort of weakness on the Dec Alpha that causes
> a real slowdown in execution speed...
> [From the test program]:
>   for ( i = 0; i < RECS; i++ ) {
>     val = rand()%RECS;
>     lseek(fd,0,0);        /* rewind the file then jump to a random offset */
>     lseek(fd,val*RECSIZE,0);
>     write(fd,buf2,RECSIZE);

This is a test of the I/O subsystem and, in particular, the disk driver
firmware. In many systems, writing to a device buffers the data in the
device's internal hardware buffers for subsequent writing to the media
itself. In other systems, writing isn't complete until the data is actually
on the physical disk. Also, Unix has different buffering strategies for
staging writes from application programs to the device itself.

You may wish to check whether the disks you use are using the same
buffering
parameters: a week or two with the ANSI SCSI spec will lead you to the
parameters -- they are standardized (more so than Unix).

By the way, what is the purpose of this benchmark? It certainly penalizes
hardware/software developers who emphasize reliability over raw
performance.

Martin Minow
The above does not represent the position of Apple Computer Inc.


  parent reply	other threads:[~1993-08-27 16:16 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
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 [this message]
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