From owner-freebsd-questions Wed Feb 9 19:13:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from bomber.avantgo.com (ws1.avantgo.com [207.214.200.194]) by builder.freebsd.org (Postfix) with ESMTP id 936B04360 for ; Wed, 9 Feb 2000 19:13:44 -0800 (PST) Received: from river ([10.0.128.30]) by bomber.avantgo.com (Netscape Messaging Server 3.5) with SMTP id 339; Wed, 9 Feb 2000 19:09:07 -0800 Message-ID: <0c4901bf7374$a248bde0$1e80000a@avantgo.com> From: "Scott Hess" To: "R Joseph Wright" Cc: References: <38A2103E.815B0C4C@nwlink.com> <0bdb01bf7365$2c465080$1e80000a@avantgo.com> <38A216C9.5A2E6719@nwlink.com> Subject: Re: softupdates and async Date: Wed, 9 Feb 2000 19:12:16 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "R Joseph Wright" wrote: > Scott Hess wrote: > > "R Joseph Wright" wrote: > > > Is it okay to have both on the same filesystem? > > > > No, you cannot run both on the same filesystem. [Aside: what would be the > > point? async+softupdates==async.] > > So softupdates does the same thing as async? No. async allows the system to rearrange writes completely arbitrarily. softupdates allows the system to rearrange writes such that they still go out in the correct order. So async can be slightly faster, but softupdates is much safer. > I have 100MB /, 40MB /var, 256MB swap, and the rest is /usr. Is > softupdates generally only done for /usr? Basically any filesystem that has write activity. Keeping in mind that atime updates happen when you merely look at files (though in that case I'd just mount with the noatime option in fstab). If you had seperate filesystems for /usr and /usr/home, I'd just set softupdates on /usr/home, and mount /usr noatime. But with just /usr, I'd go with softupdates. _Lots_ of write happen to /var, so it's probably worth enabling there. I'd probably arrange for /tmp to be a link to /var/tmp, rather than worry about enabling softupdates on /. I've been bitten too many times by programs (like sort) wanting to dump huge files on /tmp. Later, scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message