Re: File Systems Compared

Florian Weimer <fweimer@bfk.de>

From: Florian Weimer <fweimer@bfk.de>
To: Brian Wipf <brian@clickspace.com>
Cc: pgsql-performance@postgresql.org
Date: 2006-12-06T16:44:23Z
Lists: pgsql-performance
* Brian Wipf:

> Anyone run their RAIDs with disk caches enabled, or is this akin to
> having fsync off?

If your cache is backed by a battery, enabling write cache shouldn't
be a problem.  You can check if the whole thing is working well by
running this test script: <http://brad.livejournal.com/2116715.html>

Enabling write cache leads to various degrees of data corruption in
case of a power outage (possibly including file system corruption
requiring manual recover).

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99