🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #15555

Re: Optimal File Read Buffer Size?

#15555
From: JD
Date: Wed, 25 Jun 2003 09:49
19 lines
1661 bytes
"Muhammad Momin Rashid" <momin@hotmail.com> wrote:
> I remember someone telling me (on this very forum), that the
> optimal buffer size is 32k or 64k.  I can't seem to find that
> post again.  Can someone confirm this?

Sabah el nour Muhammad:

There are a number of factors that affect disk I/O speed. Some
are hardware specific such as disk speed, interleave factor
and available memory and others include the file size and what
you're doing with the data between reads/writes. Even the OS
version may have an impact on it.

For the most part, the fastest disk I/O method is that which
accesses the disk the fewest number of times. To optimize
further, IMHO will produce little or no noticeable improvement.

~ JD
Technical Details
Message-ID: <3ef9703a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ef93631@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,7650bbfb9a010dc6
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-06-25 02:57:20 PST
From: "JD" <nospam@nospam.com>
Sender: "JD" <nospam@nospam.com>
Reply-To: "JD" <nospam@nospam.com>
Subject: Re: Optimal File Read Buffer Size?
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 172.173.210.150 172.173.210.150    
References:  <3ef93631@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3ef9703a$1@newsgroups.borland.com>
Date: 25 Jun 2003 02:49:46 -0700
X-Trace: newsgroups.borland.com 1056534586 207.105.83.65 (25 Jun 2003 02:49:46 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail