pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Subject: Re: Postgresql on an AMD64 machine
Date: Tue, 7 Jun 2005 20:05:47 -0700
Message-ID: <200506072005.47418.josh@agliodbs.com> (raw)
In-Reply-To: <18285.1118178689@sss.pgh.pa.us>
References: <1118080420.1644.23.camel@penguin1>
	<20050607202755.GA28361@surnet.cl>
	<18285.1118178689@sss.pgh.pa.us>

Tom,

> Obviously we'd be willing to do this work if there were convincing
> evidence it'd be worth the time.  A benchmark showing performance
> continuing to climb with increasing shared_buffers right up to the 2Gb
> limit would be reasonably convincing.  I think there is 0 chance of
> drawing such a graph with a pre-8.1 server, because of internal
> inefficiencies in the buffer manager ... but with CVS tip the story
> might be different.

Not that I've seen in testing so far.   Your improvements have, fortunately, 
eliminated the penalty for allocating too much shared buffers as far as I can 
tell (at least, allocating 70,000 when gains stopped at 15,000 doesn't seem 
to carry a penalty), but I don't see any progressive gain with increased 
buffers above the initial ideal.  In fact, with clock-sweep the shared_buffer 
curve is refreshingly flat once it reaches the required level, which will 
take a lot of the guesswork out of allocating buffers.

Regarding 2GB memory allocation, though, we *could* really use support for 
work_mem and maintenance_mem of > 2GB.   

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



view thread (25+ messages)  latest in thread

Message-ID: <200506072005.47418.josh@agliodbs.com>
Permalink:  ../200506072005.47418.josh@agliodbs.com/
Also on:    postgresql.org/message-id/200506072005.47418.josh@agliodbs.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: josh@agliodbs.com
  Subject: Re: Postgresql on an AMD64 machine
  In-Reply-To: <200506072005.47418.josh@agliodbs.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