pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: AgentM <agentm@themactionfaction.com>
To: pgsql-performance@postgresql.org
Subject: Re: shared_buffers > 284263 on OS X
Date: Mon, 27 Nov 2006 11:05:12 -0500
Message-ID: <F6C394FE-1C8E-451F-974B-4E7CFC6403C4@themactionfaction.com> (raw)
In-Reply-To: <6ADBFE12-7A0D-4809-87CD-1F68755A8AD5@clickspace.com>
References: <B242A585-E94C-4ECA-8FA9-DCE72E1D8838@shoptoit.ca>
	<82E59D2F-0946-4405-8F11-4CF5184A9399@fastcrypt.com>
	<412.1163874633@sss.pgh.pa.us>
	<817D9C4C-05F0-45FB-9D63-B63CFE2C009E@clickspace.com>
	<20061126232523.GD39519@nasby.net>
	<6ADBFE12-7A0D-4809-87CD-1F68755A8AD5@clickspace.com>


On Nov 27, 2006, at 2:23 , Brian Wipf wrote:

> On 26-Nov-06, at 11:25 PM, Jim C. Nasby wrote:
>> On Sat, Nov 18, 2006 at 08:13:26PM -0700, Brian Wipf wrote:
>>> It certainly is unfortunate if Guido's right and this is an upper
>>> limit for OS X. The performance benefit of having high  
>>> shared_buffers
>>> on our mostly read database is remarkable.
>>
>> Got any data about that you can share? People have been wondering  
>> about
>> cases where drastically increasing shared_buffers makes a difference.
>
> Unfortunately, there are more differences than just the  
> shared_buffers setting in production right now; it's a completely  
> different set up, so the numbers I have to compare against aren't  
> particularly useful.
>
> When I get the chance, I will try to post data that shows the  
> benefit of having a higher value of shared_buffers for our usage  
> pattern (with all other settings being constant -- well, except  
> maybe effective_cache_size). Basically, in our current  
> configuration, we can cache all of the data we care about 99% of  
> the time in about 3GB of shared_buffers. Having shared_buffers set  
> to 512MB as it was originally, we were needlessly going to disk all  
> of the time.

There is a known unfortunate limitation on Darwin for SysV shared  
memory which, incidentally, does not afflict POSIX or mmap'd shared  
memory.

http://archives.postgresql.org/pgsql-patches/2006-02/msg00176.php



view thread (21+ messages)  latest in thread

Message-ID: <F6C394FE-1C8E-451F-974B-4E7CFC6403C4@themactionfaction.com>
Permalink:  ../F6C394FE-1C8E-451F-974B-4E7CFC6403C4@themactionfaction.com/
Also on:    postgresql.org/message-id/F6C394FE-1C8E-451F-974B-4E7CFC6403C4@themactionfaction.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 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: agentm@themactionfaction.com
  Subject: Re: shared_buffers > 284263 on OS X
  In-Reply-To: <F6C394FE-1C8E-451F-974B-4E7CFC6403C4@themactionfaction.com>
  References: <B242A585-E94C-4ECA-8FA9-DCE72E1D8838@shoptoit.ca> <82E59D2F-0946-4405-8F11-4CF5184A9399@fastcrypt.com> <412.1163874633@sss.pgh.pa.us> <817D9C4C-05F0-45FB-9D63-B63CFE2C009E@clickspace.com> <20061126232523.GD39519@nasby.net> <6ADBFE12-7A0D-4809-87CD-1F68755A8AD5@clickspace.com> <F6C394FE-1C8E-451F-974B-4E7CFC6403C4@themactionfaction.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