pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dan Harris <fbsd@drivefaster.net>
To: pgsql-performance@postgresql.org
Subject: Re: Query plan looks OK, but slow I/O - settings advice?
Date: Sat, 20 Aug 2005 00:52:08 -0600
Message-ID: <E0CDF4BA-278D-4EFA-9438-A5BA4802C158@drivefaster.net> (raw)
In-Reply-To: <1124434535.3257.7.camel@noodles>
References: <DB28E9B548192448A4E8C8A3C1B1E475611C66@sj1-exch-01.us.corp.kailea.com>
	<1124434535.3257.7.camel@noodles>


On Aug 19, 2005, at 12:55 AM, Jeffrey W. Baker wrote:

> On Tue, 2005-08-16 at 10:46 -0700, Roger Hand wrote:
>   Have you considered booting your
> machine with elevator=deadline?

Although I'm not the OP for this problem, I thought I'd try it out.   
WOW.. this should be in a Pg tuning guide somewhere. I added this to  
my server tonight just for kicks and saw a pronounced improvement in  
IO performance.  Thank you very much for mentioning this on the list.

I didn't have a long enough maintenance window to do solid  
benchmarking, but I can say for certain that the change was  
noticeable, especially in VACUUM operations.

Specs for the server:

PG 8.0.1
Linux 2.6.12-3 kernel
4xOpteron 2.2
12GB RAM
16-drive RAID 10
XFS mounted with noatime
pg_xlog on separate RAID controller

-Dan




view thread (6+ messages)  latest in thread

Message-ID: <E0CDF4BA-278D-4EFA-9438-A5BA4802C158@drivefaster.net>
Permalink:  ../E0CDF4BA-278D-4EFA-9438-A5BA4802C158@drivefaster.net/
Also on:    postgresql.org/message-id/E0CDF4BA-278D-4EFA-9438-A5BA4802C158@drivefaster.net

 · 

reply

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: fbsd@drivefaster.net
  Subject: Re: Query plan looks OK, but slow I/O - settings advice?
  In-Reply-To: <E0CDF4BA-278D-4EFA-9438-A5BA4802C158@drivefaster.net>
  References: <DB28E9B548192448A4E8C8A3C1B1E475611C66@sj1-exch-01.us.corp.kailea.com> <1124434535.3257.7.camel@noodles> <E0CDF4BA-278D-4EFA-9438-A5BA4802C158@drivefaster.net>

* 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