From owner-freebsd-questions Thu May 22 20:14:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA26380 for questions-outgoing; Thu, 22 May 1997 20:14:02 -0700 (PDT) Received: from agora.rdrop.com (root@agora.rdrop.com [199.2.210.241]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA26371 for ; Thu, 22 May 1997 20:13:59 -0700 (PDT) Received: from luke.cpl.net ([206.85.245.131]) by agora.rdrop.com (8.8.5/8.8.5) with ESMTP id UAA04980 for ; Thu, 22 May 1997 20:13:53 -0700 (PDT) Received: from localhost (shawn@localhost) by luke.cpl.net (8.8.5/8.8.5) with SMTP id CAA08636; Wed, 21 May 1997 02:08:03 -0700 (PDT) Date: Wed, 21 May 1997 02:08:00 -0700 (PDT) From: Shawn Ramsey To: Soren Dossing cc: questions@freebsd.org Subject: Re: rm is slow In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > rm deletes files very slowly on my system, much slower than the files can > be created. It takes more than an hour to delete one GB of files. > > Why is that, and is there anything I can do to speed it up ? I use a P200 > system with a A2940UW controller. The freebsd version is 2.2.2 - are there > any kernel configurations that I should set, to speed file deletion up. > > Or do any utilities exist, that can delete files faster ? Try mount -o async /dev/filesystem if you really want to speed things up, but in a crash it CAN screw up your filesystem much better than default.