On Sat, Oct 30, 1999 at 04:39:45AM -0800, Ethan Benson wrote:
> what is the general opinion on the number of inodes that should be
> made on a filesystem? is there any disadvantage to creating much more
> inodes then default? (i would guess longer fsck times but that is
> less annoying then running out of inodes...)
There's a space overhead for each inode and a time overhead every time
you access one.
> also what about the larger block size, I imagine this is faster but
> how much space is really wasted on average by the larger block size?
There's one inode per block, so block size is a function of the number
of inodes. Basically, what you have is a tradeoff between the overhead
of having small blocks and the wasted space from large blocks. In most
cases it won't matter much if you use larger blocks - normally, there
are enough large files to mean you won't be wasting too much space - but
sometimes it does (eg, with a traditional news spool).
--
Mark Brown mailto:broonie@tardis.ed.ac.uk (Trying to avoid grumpiness)
http://www.tardis.ed.ac.uk/~broonie/
EUFS http://www.eusa.ed.ac.uk/societies/filmsoc/
Attachment:
pgp0nN3v54rhy.pgp
Description: PGP signature