From owner-freebsd-performance@FreeBSD.ORG Tue Jul 22 09:23:29 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DC8537B401; Tue, 22 Jul 2003 09:23:29 -0700 (PDT) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA15643FAF; Tue, 22 Jul 2003 09:23:27 -0700 (PDT) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 19eyAn-0005Kv-00; Tue, 22 Jul 2003 07:31:25 -0700 Date: Tue, 22 Jul 2003 07:31:23 -0700 (PDT) From: Tom Samplonius To: Sean Chittenden In-Reply-To: <20030721192645.GB61464@perrin.int.nxad.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-database@freebsd.org cc: freebsd-performance@freebsd.org cc: Jason Stone Subject: Re: Tuning for PostGreSQL Database X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 16:23:29 -0000 On Mon, 21 Jul 2003, Sean Chittenden wrote: > > > Softupdates on, async off. Softupdates is just a better async. > > > > postgresql fsync's all its files before returning from a commit in > > order to ensure durability, right? Does softupdates interfere with > > the functioning of sync(2)/fsync(2)? > > It can, yes, but that's the risk of soft updates. From tuning(7): No it can't. Regardless of how softupdates re-orders filesystem activity, fsync flushes all dirty buffers. Tom