Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jun 1998 15:28:47 +0200 (MET DST)
From:      Nick Hibma <nick.hibma@jrc.it>
To:        Lorenzo.Cavassa@ALPcom.IT
Cc:        FreeBSD hackers mailing list <hackers@FreeBSD.ORG>
Subject:   Re: Newbie 3 questions.
Message-ID:  <Pine.GSO.3.95q.980609152526.19366H-100000@elect8>
In-Reply-To: <qTEf18FWYK7H092yn@monviso.alpcom.it>

next in thread | previous in thread | raw e-mail | index | archive | help
    > : ... and (as John well knows) it can be tuned to run an async policy
    > : similar to the one in Linux.  Which policy you run is a tradeoff
    > 
    > how?


mount -o async <devive>

or while the system is running

mount -o update,async <device>


Example

rm -rf /usr (coule of thousand files)

Takes minutes.

mount -o update,async /usr ; rm -rf /usr ; mount -o update,sync /usr

Takes 2 seconds on a pentiumII and 13 seconds on a P233 (SDRAM, both
cases)


Try it! And see for yourself!  BIG GRIN :-]]]

If you have anything operational, DON'T USE ASYNC! You'll have 0 byte
files before you know it after a crash/unexpected reboot. And believe
me, you're going to search all over the place to find that one. 

Be warned.

Nick

STA-ISIS, T.P.270, Joint Research Centre, Italy
building: 27A
tel.: +39 332 78 9549
fax.: +39 332 78 9185


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95q.980609152526.19366H-100000>