Date: Sat, 25 Jul 2009 22:33:41 -0400 From: Maxim Khitrov <mkhitrov@gmail.com> To: Free BSD Questions list <freebsd-questions@freebsd.org> Subject: UFS2 tuning for heterogeneous 4TB file system Message-ID: <26ddd1750907251933r14f7347dh30d92c2d25f305e8@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, I've spent a few hours now reading on how to set newfs parameters for various environments (many small files, many large files, etc.). I must say that I still don't have a clear picture of the relationships between cylinders, blocks, fragments, and inodes. That's making things difficult for me in figuring out what to use in my situation. The file system in question will not have a common file size (which is what, as I understand, bytes per inode should be tuned for). There will be many small files (< 10 KB) and many large ones (> 500 MB). A similar, in terms of content, 2TB ntfs file system on another server has an average file size of about 26 MB with 59,246 files. Ideally, I would prefer that small files do not waste more than 4 KB of space, which is what you have with ntfs. At the same time, having fsck running for days after an unclean shutdown is also not a good option (I always disable background checking). From what I've gathered so far, the two requirements are at the opposite ends in terms of file system optimization. So the question is what would be the optimal newfs parameters in my situation? Please don't suggest using zfs. Right now I'm in the testing phase and need to get the best configuration for usf2. After that I will give zfs a try. OS is FreeBSD 7.2-RELEASE-p2 amd64. Thanks for your help, Max
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26ddd1750907251933r14f7347dh30d92c2d25f305e8>