Directory with large number of files
Janos Dohanics
web at 3dresearch.com
Wed Mar 10 16:51:53 UTC 2010
I have a directory with over 180,000 files in 4 subdirectories. Over 170,000
of the files are in one of the subdirectories. The files are image files,
mostly <50K. The machine has 2 GB RAM.
What would be a reasonable setting for vfs.ufs.dirhash_maxmem? Is there a
disadvantage to setting vfs.ufs.dirhash_maxmem too high?
Is there any other setting to change to find files faster in a directory with
such large number of files?
Thank you for your advice.
--
Janos Dohanics
More information about the freebsd-questions
mailing list