Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!ucbvax!decwrl!shlump.dec.com!mipsbx.nac.dec.com!thomas From: thomas@mipsbx.nac.dec.com (Matt Thomas) Newsgroups: comp.unix.wizards Subject: Re: open() speed (was Blocking for disk I/O) Keywords: open(2), 4.2 BSD Message-ID: <2491@shlump.dec.com> Date: 21 May 89 19:31:57 GMT References: <17643@mimsy.UUCP> <159@zebra.UUCP> <1608@auspex.auspex.com> <2@minya.UUCP> <8295@june.cs.washington.edu> Sender: news@shlump.dec.com Organization: Digital Equipment Corporation Lines: 34 >In article <8295@june.cs.washington.edu> ka@june.cs.washington.edu >>... So I tried writing a little C program >> >> 17.3 real 0.0 user 3.2 sys >> >>This is on an otherwise idle system running Ultrix 3.0, a 4.2 BSD >>derivative. >[program removed] > > % time ./t > 0.1u 0.9s 0:01 84% 1+3k 0+0io 2pf+0w > >4.3BSD > Ultrix ... ? >-- >In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) >Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris Hard to say, as no clue was given to the type of machine and/or disks. VAX 6220 (Ultrix V3.0, RA82): 0.0u 1.1s 0:00 120% 1+5k 0+1io 0pf+0w DS3100 (Ultrix V3.1, RZ23): 0.0u 0.2s 0:00 100% 10+21k 0+0io 0pf+0w uVAX II (Ultrix V3.0, RA81): 0.0u 2.8s 0:02 100% 1+5k 0+0io 0pf+0w VAX 8700 (Ultrix V3.1, RA81): 0.0u 0.5s 0:00 83% 1+5k 0+0io 0pf+0w Which are rougly equivalent to the BSD 4.3 numbers. When running over NFS, things really slow down. VAX 8700 (Ultrix V3.1, RA81+NFS): 0.0u 1.8s 0:07 26% 2+6k 0+0io 0pf+0w -- Matt Thomas Internet: thomas@decwrl.dec.com DECnet-Ultrix Development UUCP: ...!decwrl!thomas Digital Equipment Corporation Disclaimer: This message reflects my own Littleton, MA warped views, etc.