From owner-freebsd-questions Mon Feb 14 12:10:56 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by builder.freebsd.org (Postfix) with ESMTP id 10BE042B8 for ; Mon, 14 Feb 2000 12:10:54 -0800 (PST) Received: (from bright@localhost) by fw.wintelcom.net (8.9.3/8.9.3) id MAA24248; Mon, 14 Feb 2000 12:38:54 -0800 (PST) Date: Mon, 14 Feb 2000 12:38:54 -0800 From: Alfred Perlstein To: Omachonu Ogali Cc: Erik Wenzel , freebsd-questions@FreeBSD.ORG Subject: Slow file create/delete (was: Re: why is cp so slow?) Message-ID: <20000214123854.X17536@fw.wintelcom.net> References: <20000214125652.A25174@todo.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from oogali@intranova.net on Mon, Feb 14, 2000 at 07:22:28AM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Omachonu Ogali [000214 05:05] wrote: > On Mon, 14 Feb 2000, Erik Wenzel wrote: > > > Hi All, > > > > why is moving /usr/ports to another Partition taking over 1/2 hour? > > That's only 4MB. I am using freebsd-stable-2.2.7. > > > > :wq erik@todo.de > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > Maybe its the speed between the two interfaces and not 'cp'. FreeBSD's UFS makes sure that all operations happen in the 'correct order' so that if a crash happens the amount of damage is minimilized. This leads to pretty slow directory operations. To speed it up safely have a look at /usr/src/sys/contrib/softupdates/README. also you can set the mountpoint 'async' mount -o async -u /mountpoint that willl remove the ordering restriction, but if a crash happens you can lose a lot of data. -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message