Path: utzoo!attcan!uunet!husc6!bloom-beacon!apple!rutgers!bellcore!faline!thumper!ulysses!andante!alice!andrew From: andrew@alice.UUCP (Andrew Hume) Newsgroups: comp.unix.wizards Subject: Re: Is Unix stdio slow? Summary: there are other ways Keywords: RMS, file system, stream files, stdio Message-ID: <8278@alice.UUCP> Date: 8 Oct 88 14:45:22 GMT References: <411@marob.MASA.COM> <178@arnold.UUCP> <3442@crash.cts.com> <26315@ucbvax.BERKELEY.EDU> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 12 to my way of thinking the bufering problem is not solved; the best youcan say is that we recognise several different situations that seem to need different kind of buffering solutions. the solution fio (fast i/o) supports best is that all I/O is buffered and if you want unbuffered i/o, use the unbuffered routines (say, fprint(2, instead of Fprint(2 ) which do one system call. There is one extra hook; Ftie(ifd, ofd) has the menaing that if fio wants to do a read() system call on ifd, it will flush any output associated with ofd.