|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
How do you pick the best block size?
Hi,
We have always accepted the defaults for our servers but I'd like to try customizing settings for better space and performance. Does anyone have a good formula or can point me to some good documentation on picking the best block size? We're going to have a new hard drive with a smaller number of bigger files. I understand about picking a good inode density based on how many files we'll store. I also see that they recommend a frag size of 1/8 the blocksize. I know they recommend larger blocks, but I'm just confused about how do you know the best size to pick? What is the maximum blocksize UFS2 supports? Thanks! |
|
|||
I don't know but was hoping by now I have some concerns about block-size. I do know it is the kind of thing that is better learn through detailed documentation and paper and I tried once but fail because I got board ... now I find this.
http://unix.derkeiler.com/Mailing-Li.../msg01123.html These few words can put us both on the right track providng idea of what to start googling until you hear more here. newfs -f 2048 -b 16384 Now it seem pretty simple. There are only about 4x4 ways using 8, 16, 32, and maybe 64... Try each and benchmark at the receiving end to get your base-line. This here makes it seem so hard: http://computer-forensics.sans.org/b...c-tips-tricks/ but interesting. Now I find nothing but detailed documentation and paper again, and all that is needed to know is that it's a newfs thing. Last edited by sharris; 3rd May 2011 at 07:07 AM. |
|
|||
Quote:
Quote:
|
|
|||
Quote:
PS: Once I know what make something tick, I never default until I tried a few thing on my own now matter what the claim Last edited by sharris; 3rd May 2011 at 08:07 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
inode size support for ext2/3 | guitarscn | OpenBSD General | 2 | 30th October 2009 03:46 PM |
CLI font size | idefix | FreeBSD General | 3 | 7th February 2009 11:19 AM |
Negative partition size? | giga | FreeBSD General | 1 | 2nd January 2009 09:02 PM |
Change the Size of a Slice | kienjakenobi | FreeBSD General | 9 | 27th June 2008 03:01 PM |
apache fd size problem | oxy | FreeBSD Ports and Packages | 0 | 10th May 2008 10:49 AM |