Re: performance on new linux box

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: Ben Chobot <bench(at)silentmedia(dot)com>
Cc: Ryan Wexler <ryan(at)iridiumsuite(dot)com>, PostgreSQL - Performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: performance on new linux box
Date: 2010-07-16 11:17:53
Message-ID: 4C403FE1.8080209@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 16/07/10 06:18, Ben Chobot wrote:

> There are also caches on all your disk drives. Write caching there is always dangerous, which is why almost all raid cards always disable the hard drive write caching, with or without a BBU. I'm not even sure how many raid cards let you enable the write cache on a drive... hopefully, not many.

AFAIK Disk drive caches can be safe to leave in write-back mode (ie
write cache enabled) *IF* the OS uses write barriers (properly) and the
drive understands them.

Big if.

--
Craig Ringer

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Craig Ringer 2010-07-16 11:36:10 Re: performance on new linux box
Previous Message Ben Chobot 2010-07-16 04:30:31 Re: performance on new linux box