From owner-freebsd-fs@FreeBSD.ORG Sat Apr 12 16:02:14 2003 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4663137B401; Sat, 12 Apr 2003 16:02:14 -0700 (PDT) Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [193.201.200.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5891043F85; Sat, 12 Apr 2003 16:02:13 -0700 (PDT) (envelope-from fanf@chiark.greenend.org.uk) Received: from fanf by chiark.greenend.org.uk with local (Exim 3.35 #1) id 194U0f-0004Pn-00 (Debian); Sun, 13 Apr 2003 00:02:09 +0100 To: zec@tel.fer.hr From: Tony Finch In-Reply-To: <3E976EBD.C3E66EF8@tel.fer.hr> Message-Id: Sender: Tony Finch Date: Sun, 13 Apr 2003 00:02:09 +0100 cc: freebsd-fs@freebsd.org cc: freebsd-stable@freebsd.org Subject: Re: PATCH: Forcible delaying of UFS (soft)updates X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2003 23:02:14 -0000 Marko Zec wrote: > >Here's a patch against 4.8-RELEASE kernel that allows disk writes on >softupdates-enabled filesystems to be delayed for (theoretically) >arbitrarily long periods of time. The motivation for such updating >policy is surprisingly not purely suicidal - it can allow disks on >laptops to spin down immediately after I/O operations and stay idle for >longer periods of time, thus saving considerable amount of battery >power. I've used a much simpler patch for a number of years, which allows you to increase the 30s syncer interval. See http://dotat.at/prog/buildworld/patches.src/04.syncdelay.patch.disabled Tony. -- f.a.n.finch http://dotat.at/ LANDS END TO ST DAVIDS HEAD INCLUDING THE BRISTOL CHANNEL: EAST OR SOUTHEAST 4, INCREASING 7, LOCALLY GALE 8, EASING SOUTHEAST 4 OR 5 LATER. FAIR, THEN RAIN, WITH RISK OF MIST. GOOD, BECOMING MODERATE OR POOR. SLIGHT OR MODERATE, LOCALLY ROUGH LATER.