Article View: demon.tech.amiga
Article #206Re: Hard drive recommendations
From: Martin Nicholson
Date: Sat, 08 Aug 1998 00:00
Date: Sat, 08 Aug 1998 00:00
50 lines
3061 bytes
3061 bytes
On the 08 Aug 98 00:27:51 +0000, Ian Deaville wrote,
> >Make sure
> >you set the buffers up properly too, HDToolBox defaults to 30 buffers
> >per partition which is laughably small.
>
> So what sort of number would be better? 50, 500? How much memory will eahc
> buffer consume? (I have 32MB kicking around in here, so I can afford a bit...)
There is no ideal buffer size, it depends on the size of files and
directories and the number of files concurrently used.
The buffers store only meta-data (fileheaders, list blocks, allocation
bitmap, ...) and partial block reads. A good estimate is to add buffers
for the largest file you use plus the largest directory you use plus
10-20 blocks extra.
The number of buffers to hold the meta-data for a file depends on the
blocksize of the partition. With 512byte/block you need one buffer
for every 36 kbyte of a file, with 2048byte/block you need one buffer
for every 912 kbyte of a file.
The number of buffers necessary to store the meta-data of a directory
is simply the number of directory entries plus 1.
So, if your largest file is 5 Megabyte and you largest directory has 200
entries on a 512byte/block partition then I would suggest a number of
360 buffers (which occupy 180 kbyte of memory).
(Originally posted to comp.sys.amiga.misc many many moons ago by
Michael van Elst)
Worzel
--
mailto:martin@madscientist.demon.co.uk
_____________________________________________________________________
| | |
| Martin Nicholson | Nick Worzel on DALNET #Netconnect |
| ICQ UIN 14617500 | DALNET #HarryHomers |
|___________________________|________________________________________|
| |
|A1200, Apollo 1230/50/68882 Pro, 16 Megs fastram, 4.2G HD, 1G HD, |
|420M HD and 6x CD-ROM in tower, and Dynalink V90 modem/Hypercom 3i |
|____________________________________________________________________|
| Using Dopus 5.661 Magellan & NetConnect2 software. |
|____________________________________________________________________|
Technical Details
Message-ID:
<35CC464F.MD-1.0.martin@madscientist.demon.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<804.524T2550T272694@deaville.demon.co.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1160fd,558e8e1a3db5d3f X-Google-Attributes: gid1160fd,public X-Google-Thread: 11015b,558e8e1a3db5d3f X-Google-Attributes: gid11015b,public From: "Martin Nicholson" <martin@madscientist.demon.co.uk> Subject: Re: Hard drive recommendations Date: 1998/08/08 Message-ID: <35CC464F.MD-1.0.martin@madscientist.demon.co.uk> X-Deja-AN: 379236601 Content-Transfer-Encoding: 7bit X-NNTP-Posting-Host: madscientist.demon.co.uk:193.237.50.20 References: <804.524T2550T272694@deaville.demon.co.uk> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 902609182 nnrp-01:12320 NO-IDENT madscientist.demon.co.uk:193.237.50.20 Organization: Private User Mime-Version: 1.0 Newsgroups: demon.tech.amiga,demon.ip.support.amiga