pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <gsmith@gregsmith.com>
To: JP Fletcher <jpfletch@ca.afilias.info>
Cc: pgsql-performance@postgresql.org
Subject: Re: Fwd: wal_sync_methods for AIX
Date: Tue, 19 Feb 2008 17:57:21 -0500 (EST)
Message-ID: <Pine.GSO.4.64.0802191754311.22515@westnet.com> (raw)
In-Reply-To: <47BB3A3C.90407@ca.afilias.info>
References: <20080215140453.4fafd9b1@commandprompt.com>
	<8B5845E3-6846-4335-888A-4EB94730C0B5@langille.org>
	<47BB3A3C.90407@ca.afilias.info>

On Tue, 19 Feb 2008, JP Fletcher wrote:

> Shared buffers are set to 50000, bgwriter settings are as follows:
>
> bgwriter_delay = 50                     # 10-10000 milliseconds between 
> rounds
> bgwriter_lru_percent = 20.0             # 0-100% of LRU buffers scanned/round
> bgwriter_lru_maxpages = 300             # 0-1000 buffers max written/round
> bgwriter_all_percent = 5                # 0-100% of all buffers scanned/round
> bgwriter_all_maxpages = 600             # 0-1000 buffers max written/round

Not that it impacts what you're asking about, but that's probably an 
excessive setting for bgwriter_lru_percent.  With the reduced delay and 
scanning that much, you're burning a lot of CPU time doing that for little 
benefit.

--
* Greg Smith gsmith@gregsmith.com http://www.gregsmith.com Baltimore, MD



view thread (7+ messages)

Message-ID: <Pine.GSO.4.64.0802191754311.22515@westnet.com>
Permalink:  ../Pine.GSO.4.64.0802191754311.22515@westnet.com/
Also on:    postgresql.org/message-id/Pine.GSO.4.64.0802191754311.22515@westnet.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: gsmith@gregsmith.com, jpfletch@ca.afilias.info
  Subject: Re: Fwd: wal_sync_methods for AIX
  In-Reply-To: <Pine.GSO.4.64.0802191754311.22515@westnet.com>

* 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