Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 07:47:03 -0500
From:      Eric Anderson <anderson@freebsd.org>
To:        Gore Jarold <gore_jarold@yahoo.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: help needed - tuning a filesystem for rm and cp ? (MORE)
Message-ID:  <46937FC7.1040306@freebsd.org>
In-Reply-To: <423307.86822.qm@web63003.mail.re1.yahoo.com>
References:  <423307.86822.qm@web63003.mail.re1.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46937FC7.1040306>