Christian Baer christian.baer at
Sat Mar 3 14:01:15 UTC 2007

On Fri, 2 Mar 2007 11:12:25 -0500 Jerry McAllister wrote:

> On the other hand, doing all this either way wouldn't make any difference 
> in performance for file access in a running system because so-called
> fragmentation is not an issue in the UNIX file system - except in
> the small possibility that it might make a bit of difference in a
> file system filled to capacity, well in to the reserve where non-root
> processes are not allowed to write anyway.   I don't know just how 
> close to absolutely full you have to get to see any difference, but it
> is beyond what users would normally get to.

You do know that you can use 'tunefs -m 0'? This will in fact cause
fragmentation to happen - even on UFS2! UFS2 has methods of avoiding
fragmentation that work quite well but it is not a 'magical' file
system, which only means that every gain comes with a price. In this
case the price is 10-15% of the HD's space.

BTW. I have used tunefs to utilize all of my space on some drives.
However, these drive contain only static information that has to be
accessed often and then fast. That is the reason why it is on a drive at
all. If you know what you are doing then this option is ok. Otherwise,
the use will run into trouble when the drive fills up and the
information stored on it is not static.


More information about the freebsd-questions mailing list