Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Sep 2001 11:45:32 -0400
From:      Bill Moran <wmoran@iowna.com>
To:        Mike Harding <mvh@ix.netcom.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: dirpref gives massive performance boost
Message-ID:  <3BB73E1C.E1DF2CBC@iowna.com>
References:  <20010928141246.A15515@xor.obsecurity.org> <20010930125511.B9899133B4@netcom1.netcom.com> <3BB72F99.4090405@rshb.com.ru> <20010930152404.581A8133C1@netcom1.netcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Harding wrote:
> 
> Um - what about my question?  Is the newfs necessary?  Repartitioning,
> backup, and restore also require a backup medium, etc.

The dirpref is a policy that determines how data is written to the disk,
so it will be faster when read back.  If you simply start using it,
without newfsing the disk, you will only see performance improvements
on data that is written after it was implemented (assuming there is
enough free space on the disk to write the data according to the
optimum layout)  Redoing the partition will allow the new dirpref math
to lay out the whole disk in a more optimum manner, giving across the
boards performance improvements.

So, no, newfs is not necessary, but depending on your usage of the disk,
the improvement may not be very noticable.

-- 
"Where's the robot to pat you on the back?"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BB73E1C.E1DF2CBC>