Re: More shared buffers causes lower performances - Mailing list pgsql-performance

From Merlin Moncure
Subject Re: More shared buffers causes lower performances
Date
Msg-id b42b73150712290922k3b22739tc564134c591fa28a@mail.gmail.com
Whole thread Raw
In response to More shared buffers causes lower performances  ("Guillaume Smet" <guillaume.smet@gmail.com>)
List pgsql-performance
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

pgsql-performance by date:

Previous
From: "Guillaume Smet"
Date:
Subject: Re: More shared buffers causes lower performances
Next
From: Sebastián Baioni
Date:
Subject: Re: [GENERAL] Can't make backup