X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Sat, 01 Jan 2005 12:21:19 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c4efeb$Blat.v2.2.2$c8277a80@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: (message from Brian Inglis on Fri, 31 Dec 2004 20:35:25 GMT) Subject: Re: DREADED fseek References: <8edus09uvkr9or13giuvdflk4ogin5q2l1 AT 4ax DOT com> <01c4ebed$Blat.v2.2.2$c5f598c0 AT zahav DOT net DOT il> <200412281245 DOT iBSCjQRj001350 AT envy DOT delorie DOT com> <72v3t01u5oeu89j63pfeece2ip780hsb45 AT 4ax DOT com> <01c4ed60$Blat.v2.2.2$fab621a0 AT zahav DOT net DOT il> <01c4ee2a$Blat.v2.2.2$0f6c2800 AT zahav DOT net DOT il> <01c4eea1$Blat.v2.2.2$74816940 AT zahav DOT net DOT il> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Brian Inglis > Date: Fri, 31 Dec 2004 20:35:25 GMT > > Typical results (including open and close) are: > > __ default __ __ setvbuf __ > File Size Buffer Reads Time Transfer Time Transfer Faster > (MB) (B) (s) (MB/s) (s) (MB/s) > PD2.DLL 17 64K 278 1.813 9.574 1.762 9.853 setvbuf > PD2.DLL 17 32K 556 1.835 9.457 1.792 9.684 setvbuf > PD2.DLL 17 16K 1111 1.802 9.632 1.791 9.692 setvbuf > PD2.DLL 17 8K 2222 1.836 9.452 1.747 9.935 setvbuf > PD2.DLL 17 4K 4444 1.809 9.597 1.811 9.585 default > PD2.DLL 17 2K 8887 1.810 9.587 1.814 9.570 default > PD2.DLL 17 1K 17774 1.753 9.904 1.802 9.630 default > PD2.DLL 17 512 35548 1.782 9.740 1.788 9.705 default > PD2.DLL 17 256 71095 1.795 9.667 1.813 9.573 default That fits my recollections: changing the buffer (any buffer) size doesn't affect the I/O speed too much. Thanks for digging into this.