Re: PGSQL, checkpoints, and file system syncs - Mailing list pgsql-performance

From Bruce Momjian
Subject Re: PGSQL, checkpoints, and file system syncs
Date
Msg-id 20140409164223.GB8686@momjian.us
Whole thread Raw
In response to Re: PGSQL, checkpoints, and file system syncs  (Shaun Thomas <sthomas@optionshouse.com>)
List pgsql-performance
On Tue, Apr 8, 2014 at 02:00:05PM +0000, Shaun Thomas wrote:
> So if you are on a 1GB RAID card, set it to 1GB. Once you have 1GB
> of dirty memory (from a checkpoint or whatever), Linux will begin
> flushing.
>
> This is a pretty well-known issue on Linux systems with large amounts
> of RAM. Most VM servers fit that profile, so I'm not surprised it's
> hurting you.

Agreed.  The dirty kernel defaults Linux defaults are too high for
systems with large amounts of memory.  See sysclt -a | grep dirty for a
list.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


pgsql-performance by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Why shared_buffers max is 8GB?
Next
From: Bruce Momjian
Date:
Subject: Re: PGSQL, checkpoints, and file system syncs