From: Henrik <henke@mac.se>
To: Greg Smith <gsmith@gregsmith.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Hardware suggestions for high performance 8.3
Date: Thu, 26 Jun 2008 00:32:03 +0200
Message-ID: <1D62209E-DFEE-4994-8B5B-BC181608B0AE@mac.se> (raw)
In-Reply-To: <Pine.GSO.4.64.0806251127470.29204@westnet.com>
References: <2B6702BC-3513-407E-AAC2-7E04299CA237@mac.se>
<Pine.LNX.4.64.0806251210520.5056@aragorn.flymine.org>
<A928E958-6E18-4636-B578-31A131822B64@mac.se>
<Pine.GSO.4.64.0806251127470.29204@westnet.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: henke@mac.se, gsmith@gregsmith.com
Subject: Re: Hardware suggestions for high performance 8.3
In-Reply-To: <1D62209E-DFEE-4994-8B5B-BC181608B0AE@mac.se>
References: <2B6702BC-3513-407E-AAC2-7E04299CA237@mac.se> <Pine.LNX.4.64.0806251210520.5056@aragorn.flymine.org> <A928E958-6E18-4636-B578-31A131822B64@mac.se> <Pine.GSO.4.64.0806251127470.29204@westnet.com> <1D62209E-DFEE-4994-8B5B-BC181608B0AE@mac.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox