From: Merlin Moncure <mmoncure@gmail.com>
To: Guillaume Smet <guillaume.smet@gmail.com>
Cc: pgsql-performance <pgsql-performance@postgresql.org>
Cc: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
Subject: Re: More shared buffers causes lower performances
Date: Sat, 29 Dec 2007 12:22:00 -0500
Message-ID: <b42b73150712290922k3b22739tc564134c591fa28a@mail.gmail.com> (raw)
In-Reply-To: <1d4e0c10712251606q6f9503deye3da4b68c51bf5e@mail.gmail.com>
References: <1d4e0c10712251606q6f9503deye3da4b68c51bf5e@mail.gmail.com>
On Dec 25, 2007 7:06 PM, Guillaume Smet <guillaume.smet@gmail.com> wrote:
> While monitoring the server with vmstat, I can't see any real reason
> why it's slower. When shared_buffers has a higher value, I/O are
> lower, context switches too and finally performances. The CPU usage is
> quite similar (~50-60%). I/O doesn't limit the performances AFAICS.
Can you confirm that i/o is lower according to iostat? One
possibility is that you are on the cusp of where your server's memory
covers the database and the higher buffers results in lower memory
efficiency.
If raising shared buffers is getting you more page faults to disk,
this would explain the lower figures regardless of the # of syscalls.
If your iowait is zero though the test is cpu bound and this
distinction is moot.
merlin
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: mmoncure@gmail.com, guillaume.smet@gmail.com, stefan@kaltenbrunner.cc
Subject: Re: More shared buffers causes lower performances
In-Reply-To: <b42b73150712290922k3b22739tc564134c591fa28a@mail.gmail.com>
References: <1d4e0c10712251606q6f9503deye3da4b68c51bf5e@mail.gmail.com> <b42b73150712290922k3b22739tc564134c591fa28a@mail.gmail.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