From owner-freebsd-questions Tue Jan 19 13:15:28 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA08211 for freebsd-questions-outgoing; Tue, 19 Jan 1999 13:15:28 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mercury.webnology.com (mercury.webnology.com [209.155.51.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA08195 for ; Tue, 19 Jan 1999 13:15:25 -0800 (PST) (envelope-from jooji@webnology.com) Received: from localhost (jooji@localhost) by mercury.webnology.com (8.9.2/8.9.2) with SMTP id PAA15868; Tue, 19 Jan 1999 15:15:37 -0600 (CST) Date: Tue, 19 Jan 1999 15:15:37 -0600 (CST) From: "Jasper O'Malley" To: Bill Hamilton cc: freebsd questions Subject: Re: softupdates In-Reply-To: <36A4CFCC.888D2627@finsco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 19 Jan 1999, Bill Hamilton wrote: > I've seen recommendations of using softupdates and noatime to speed up > make world. > The noatime is an option of mount(8). How do you turn on softupdates? You'll need the latest copies of your kernel and contrib sources. Once you have those: cd /sys/ufs/ffs ln -s /usr/src/contrib/sys/softupdates/softdep.h ln -s /usr/src/contrib/sys/softupdates/ffs_softdep.h Add the line: options SOFTUPDATES to your kernel config file, config it, and remake your kernel. Reboot. To enable softupdates for a filesystem, unmount the filesystem, and run: tunefs -n enable Then remount the filesystem. > Is this the same as async? Nope. It should be as fast as async, though. > How bad can you hose yourself? With async? Bad. With softupdates? You can't, especially, AFAIK. > If I have a separate slice for each of / and /var and /usr, I can do > these options just on the non-root slices and get some speedup and not risk > root, correct? Yes. Cheers, Mick The Reverend Jasper P. O'Malley dotdot:jooji@webnology.com Systems Administrator ringring:asktheadmiral Webnology, LLC woowoo:http://www.webnology.com/~jooji To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message