help needed - tuning a filesystem for rm and cp ? (MORE)

Ivan Voras ivoras at fer.hr
Tue Aug 14 14:20:40 PDT 2007


Gore Jarold wrote:

> Ok, you are correct - I am indeed maxing out
> vfs.ufs.dirhash_mem
> 
> I have just upped it by 2x and will continue to
> monitor it.
> 
> Here is a question for any and all out there reading
> ... what would you expect would happen to a system
> that was constantly maxing out this value, sometimes
> on a sustained basis, while the activity that caused
> it went on uninterrupted ?

A slowdown. Dirhash speeds up file access when the number of files is
large (i.e. large directories). It's not required for proper function.

> I am seeing the system halt ... is it reasonable to
> think that maxing that value out on a regular,
> sustained basis would cause a system to halt ?

No, system halting or crashing points to a bug. If it's really halted
("freezed", no network or IO), someone should be able to lead you
through a debugging session.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20070814/40669a16/signature.pgp


More information about the freebsd-fs mailing list