Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

Next:From: Craig RingerDate: 2010-07-16 11:36:10
Subject: Re: performance on new linux box
Previous:From: Ben ChobotDate: 2010-07-16 04:30:31
Subject: Re: performance on new linux box

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group