Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!rpi!uupsi!cmcl2!phri!rna!dan From: dan@rna.UUCP (Dan Ts'o) Newsgroups: comp.benchmarks Subject: Re: Sparcstation 2 Write I/O Message-ID: <1085@rna.UUCP> Date: 15 Feb 91 22:53:09 GMT References: <152@edi386.UUCP> Reply-To: dan@rna.UUCP (Root Beer) Organization: Rockefeller University Neurobiology Lines: 15 In article <152@edi386.UUCP> eddjp@edi386.UUCP ( Dewey Paciaffi ) writes: >I've found an anomaly I can't explain on my borrowed Sparcstation 2. >I've been running the Byte Magazine Benchmarks and the file I/O times >were surprisingly low, around 270 kb / sec. on read and writes. >#include > >#define BUFFSIZE 1024 I think your write size is too small. Reads probably benefit greatly from the read-ahead of the UNIX buffer cache. But your writes in buffers of 1024 will not and you'll incur lots of rotational latency (waiting for the disk to come around again). Try a buffer of 32768 or more. Dan