[svlug] Inode ho!

Ze'ev Maor gmaor at techunix.technion.ac.il
Tue Oct 20 12:50:56 PDT 1998


On Tue, 20 Oct 1998, Nick Moffitt wrote:

> every 1, 2, or 4k.  If you have many tiny files, having inodes every
> 1k can be helpful, since a 1k file on a system with inodes every 4k
> will effectively use up all 4k of disk space.  However, on a system
> or so) it's actually faster to have fewer inodes on disk.

Having too many inodes will not only blow the inode list (the logical part
in every partition right after the super block) out of proportions
(especially for large disks), but will degrade performances considirably.
Basically it depends on the fs you're going to mount on that partition,
binaries (libs, executables etc.) aren't relatively small, so a 4K inode
won't spend any disk space. However, for fs which will store large amounts
of small files (again relatively to the inode size) you might want to go
with smaller inodes to spare space.

Bare in mind that large files also spend space since they rearly end
exactly at the end of the inode, nontheless statistically, small files
would spend much more space (much more - by orders of magnitude).


--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe



More information about the svlug mailing list