From owner-freebsd-hackers Mon Jul 30 14: 7:20 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id EF35737B401 for ; Mon, 30 Jul 2001 14:07:17 -0700 (PDT) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id DEF2481D05; Mon, 30 Jul 2001 16:07:17 -0500 (CDT) Date: Mon, 30 Jul 2001 16:07:17 -0500 From: Alfred Perlstein To: Jaye Mathisen Cc: hackers@freebsd.org Subject: Re: Softupdate gripe... Message-ID: <20010730160717.R26571@elvis.mu.org> References: <20010730132122.C548@apocalypse.cdsnet.net> <20010730160043.Q26571@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010730160043.Q26571@elvis.mu.org>; from bright@mu.org on Mon, Jul 30, 2001 at 04:00:43PM -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Alfred Perlstein [010730 16:01] wrote: [re: speeding up freeing of space when using softupdates] > > If you want to accellerate the release of blocks issue a couple > of sync(1) commands: > > sync;sync;sync; > > which will 'accelerate' the free'ing of space, actually it will > accellerate the writing of the meta data that will actually free > up the space. Let me add that this will not _really_ accelerate the process, it may give you instant gratification where you'll see a bunch of space, but by issuing a sync you're actually going to slow down the removal of files in the long run. Basically for speed you don't want to issue a sync until the rm command completes, if at all since the sync will also muck with other disk activity. -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message