Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Feb 2000 12:38:54 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Omachonu Ogali <oogali@intranova.net>
Cc:        Erik Wenzel <erik@todo.de>, freebsd-questions@FreeBSD.ORG
Subject:   Slow file create/delete (was: Re: why is cp so slow?)
Message-ID:  <20000214123854.X17536@fw.wintelcom.net>
In-Reply-To: <Pine.BSF.4.10.10002140722060.45224-100000@hydrant.intranova.net>; from oogali@intranova.net on Mon, Feb 14, 2000 at 07:22:28AM -0500
References:  <20000214125652.A25174@todo.de> <Pine.BSF.4.10.10002140722060.45224-100000@hydrant.intranova.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Omachonu Ogali <oogali@intranova.net> [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




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