Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!edi386!eddjp From: eddjp@edi386.UUCP ( Dewey Paciaffi ) Newsgroups: comp.benchmarks Subject: Sparcstation 2 Write I/O Message-ID: <152@edi386.UUCP> Date: 13 Feb 91 21:41:59 GMT Organization: J.M. Huber Corp. Edison, NJ Lines: 44 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. In attempting to isolate any problem with the bench program, I shut off the write portion of the test, and read an old test file. The results were in the 1.2 - 1.4 MB range. Turning this around I changed the program to write only, and still averaged about 270 kb. To be completely sure that the benchmark program didn't have some latent bug that I hadn't found, I ran the following test and again can only write about 270 - 290 kb/sec. The system is quiet except for this test. Could someone verify these results or (hopefully) refute them? Remember that this is a loaner machine, and I'm not sure how well tuned it may be. The disk comes up Synchronous, and remains so as far as I can tell. ======== Cut Here ========== Cut Here =========== Cut Here ============= #include #define BUFFSIZE 1024 main() { int file; int c = 0; char buffer[BUFFSIZE]; file = open("./dummy0", O_WRONLY | O_CREAT | O_TRUNC ); while ( c++ != 2000 ) if ( (write(file,buffer,BUFFSIZE)) == -1 ) { perror("Write"); break; } close(file); } -- Dewey Paciaffi ...!uunet!edi386!eddjp