From owner-freebsd-stable@FreeBSD.ORG Fri Jan 21 19:09:15 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 502B516A4CE for ; Fri, 21 Jan 2005 19:09:15 +0000 (GMT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C77543D3F for ; Fri, 21 Jan 2005 19:09:15 +0000 (GMT) (envelope-from truckman@FreeBSD.org) Received: from FreeBSD.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.13.1/8.13.1) with ESMTP id j0LJ91MC052960; Fri, 21 Jan 2005 11:09:05 -0800 (PST) (envelope-from truckman@FreeBSD.org) Message-Id: <200501211909.j0LJ91MC052960@gw.catspoiler.org> Date: Fri, 21 Jan 2005 11:09:01 -0800 (PST) From: Don Lewis To: ertr1013@student.uu.se In-Reply-To: <20050121164928.GA50279@falcon.midgard.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii cc: decibel@decibel.org cc: freebsd-stable@FreeBSD.org cc: markir@paradise.net.nz Subject: Re: Disabling write-behind on IDE drives, and SMART X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 19:09:15 -0000 On 21 Jan, Erik Trulsson wrote: > On Fri, Jan 21, 2005 at 08:31:06AM -0800, Kevin Oberman wrote: >> For servers that lack solid backup power (not a 10 minute >> UPS), I would probably turn it off. But for most systems it is probably >> worth the risks. > > A 10 minute UPS should be plenty for that purpose. All that is needed > to protect against the risks of write-caching is for the server to be > able to make an orderly shutdown, which should not take more than a > couple of minutes. (If you need constant uptime, you need better power > backup, but that is a different issue.) I guess that you haven't had as many UPS failures as I have had. The usual problem is sudden battery and unexpected battery death which brings the UPS runtime close to zero. The UPSes definitely help with the short hits to the power, but for anything important I pay the outrageously high premium for SCSI disks and turn off write caching. At least SCSI has working tagged command queuing that when used with softupdates avoids the performance hit caused by turning off write caching, at least for most workloads.