Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site ncr-sd.UUCP Path: utzoo!watmath!clyde!cbosgd!ncr-sd!stubbs From: stubbs@ncr-sd.UUCP (Jan Stubbs) Newsgroups: net.arch,net.sources Subject: Re: IOCALL Benchmark results Message-ID: <350@ncr-sd.UUCP> Date: Wed, 4-Dec-85 19:35:07 EST Article-I.D.: ncr-sd.350 Posted: Wed Dec 4 19:35:07 1985 Date-Received: Thu, 5-Dec-85 08:53:11 EST Reply-To: stubbs@ncr-sd.UUCP (0000-Jan Stubbs) Distribution: net Organization: NCR Corporation, San Diego Lines: 59 Keywords: unix benchmark Xref: watmath net.arch:2216 net.sources:3940 IOCALL, A UNIX SYSTEM PERFORMANCE BENCHMARK The results so far are at the end of this article. Thanks everybody. Send your results to me directly. The benchmark is a "C" program which measures Unix kernel performance. To run it: cut off top and bottom of this article and put it in iocall.c cc iocall -o iocall time iocall Send all 3 times (user, system, real) I am reporting the system time only. "The opinions expressed herein are those of the author". Jan Stubbs NCR Corp. San Diego, CA 619 485-3052 ..sdcsvax!ncr-sd!stubbs ------cut here------cut here------------------------------- /*This benchmark tests speed of Unix system call interface and speed of cpu doing common Unix io system calls. */ char buf[512]; int fd,count,i,j; main() { fd = creat("/tmp/testfile",0777); close(fd); fd = open("/tmp/testfile",2); unlink("/tmp/testfile"); for (i=0;i<=1000;i++) { count = write(fd,buf,500); lseek(fd,0,0); for (j=0;j<=3;j++) count = read(fd,buf,100); } } ------cut-------cut----cut----------------------------- IOCALL RESULTS (so far) SYSTEM UNIX VERSION SYSTEM TIME SECONDS ----------- ---------------- ------------------- DEC Rainbow100 w/NECV20 Venix 18.4 VAX 11/750 4.2 BSD 10.0 VAX 11/750 SV.2 9.4 VAX 11/750 4.3 BSD 9.0 VAX 11/750 research version 8 8.1 ATT 7300 Unix PC SV.2 6.4 Pyramid 90x w/cache OSx2.2 5.8 VAX 11/780 4.2 BSD 5.7 VAX 11/785 4.3 BSD 3.6