help needed - tuning a filesystem for rm and cp ? (MORE)

Eric Anderson anderson at freebsd.org
Tue Jul 10 12:47:05 UTC 2007


Gore Jarold wrote:
> Some more information on my question...
> 
> The directories on the single mount point that I am
> referring to are varied in depth and density - but
> some of them have as many as a few million inodes in
> them and can go 5-10 levels deep.
> 
> But that is not a rule - it is a large multi-user
> system (think old school shell server) with hundreds
> of users that can populate their home directories with
> anything they want.  The only thing I can say for sure
> is that I am using 2.5 TB of space (out of 8 TB) and
> am using 23.8 million inodes.
> 
> So it's not that dense with inodes at all, but there
> is no telling how even a distribution that is - a
> cp/rm target might not be represented well by the
> average (ie. they might be very sparse or very dense)
> 
> So again, all is well, but I have these long 'cp' and
> 'rm' processes that I would like to speed up, if
> possible.
> 
> All else being equal, how do you optimize a system for
> copying from one place to another on the same mount
> point ?  How do you optimize a system for fast file
> deletion ?  Are the two mutually exclusive ?

Are you cp'ing a tree, and then deleting one of its copies?

Are you running 6-STABLE or -CURRENT? (sorry if I missed that part)

Eric




More information about the freebsd-fs mailing list