Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jan 2003 14:36:27 -0500
From:      "MikeM" <myraq@mgm51.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Lots of files in a directory
Message-ID:  <200301021436270671.0AF47A7E@home.24cl.com>
In-Reply-To: <20030102173851.GG24622@dan.emsphone.com>
References:  <200301020901270548.09C1C68B@sentry.24cl.com> <20030102173851.GG24622@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 1/2/03 at 11:38 AM Dan Nelson wrote:

|In the last episode (Jan 02), MikeM said:
|> Is there anything I can do so that the file system works faster with
|> such a large number of files?  I'm looking for an increase in the
|> area of 5 to 1. For example, the command "rm -rf misc" where "misc"
|> is the directory containing the 250,000 files takes a couple of hours
|> to run.  If "misc" is my current working directory, and I type "rm *"
|> I get the message that there are too many arguments being passed into
|> rm.
|
|In addition to the other suggestions, enabling softupdates will make
|file creation and deletion much faster (your rm -rf will speed up
|~100x, for example).
 =============

Thanks.   tunefs for enabling softupdates seems to require console access
and single user boot mode.  So I'll have to schedule that on my distant
server.  




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




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