Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id CF9C3650F80 for ; Wed, 25 Jun 2008 19:36:14 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 63276-04 for ; Wed, 25 Jun 2008 19:36:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mac.se (slimjim.mantaray.se [195.43.255.244]) by postgresql.org (Postfix) with ESMTP id BD34F650F33 for ; Wed, 25 Jun 2008 19:32:06 -0300 (ADT) Received: from [85.24.169.56] (account henke HELO [10.168.1.146]) by mac.se (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5213612; Thu, 26 Jun 2008 00:32:04 +0200 Cc: pgsql-performance@postgresql.org Message-Id: <1D62209E-DFEE-4994-8B5B-BC181608B0AE@mac.se> From: Henrik To: Greg Smith In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v924) Subject: Re: Hardware suggestions for high performance 8.3 Date: Thu, 26 Jun 2008 00:32:03 +0200 References: <2B6702BC-3513-407E-AAC2-7E04299CA237@mac.se> X-Mailer: Apple Mail (2.924) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/154 X-Sequence-Number: 30504 25 jun 2008 kl. 17.45 skrev Greg Smith: > On Wed, 25 Jun 2008, Henrik wrote: > >> Would you turn off fsync if you had a controller with BBU? =) > > Turning off fsync has some potential to introduce problems even in > that environment, so better not to do that. The issue is that you > might have, say, 1GB of OS-level cache but 256MB of BBU cache, and > if you turn fsync off it won't force the OS cache out to the > controller when it's supposed to and that can cause corruption. > > Also, if you've got a controller with BBU, the overhead of fsync for > regular writes is low enough that you don't really need to turn it > off. If writes are cached the fsync is almost free. Thanks for a thoroughly answer. I guess I wont be turning of fsync. :) Thanks Greg! > > > -- > * Greg Smith gsmith@gregsmith.com http://www.gregsmith.com > Baltimore, MD > > -- > Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-performance