Hi
I will try to put down what I know...
On Thu, 20 Apr 2000, Rohit wrote:
> Hi list,
>
> Can you give me some pointers to understanding the relation between the
> maximum number of files created on a filesystem and the inode density
> [what does that mean?].
Inode density is calculated as size of file system/average size of
file(4K). I remember of being given this option in slackware distro. Do
not remember the version no. Bought in Nov. 98. Still Have the CDs in
Pune..
Also, the block-size and how it may be related
> to the speed of accessing an HDD and space wastage on the HDD?
>
the block size is the units in which OS allocates space to a file as and
when required. Say block size is 1024 bytes and file is 1026 bytes long,
then file occupies 2 blocks with 1022 bytes in second block unused.
So generally higher block size causes higher percentage of space wastage.
I remeber to see block size of 32K on 2.1GB HDD. So you can guess that on
current HDD, it might be 32/64/128K(even!).
But keeping lower block size introduces higher no. of read/writes. CPU
is interruptyed more no. of times for read/write. By default it is 1
interrupt/block but can be altered using muxmultsectcount in hdparm.
Generally 16/32 wors well. So the trade off for block size need be
determined after experiments that suits your need.
Please correct me if I am wrong/incorrect/inaccurate somewhere..
Bye
Shridhar
-----------------------------------------------------------------------
The LIH mailing list archives are available at:
http://lists.linux-india.org/cgi-bin/wilma/linux-india-help