Re: performance on new linux box - Mailing list pgsql-performance

From Craig Ringer
Subject Re: performance on new linux box
Date
Msg-id 4C403FE1.8080209@postnewspapers.com.au
Whole thread Raw
In response to Re: performance on new linux box  (Ben Chobot <bench@silentmedia.com>)
List 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
cardsalways disable the hard drive write caching, with or without a BBU. I'm not even sure how many raid cards let you
enablethe 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

pgsql-performance by date:

Previous
From: Ben Chobot
Date:
Subject: Re: performance on new linux box
Next
From: Craig Ringer
Date:
Subject: Re: performance on new linux box