Re: Postgresql on an AMD64 machine

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Donald Courtney <Donald(dot)Courtney(at)Sun(dot)COM>
Cc: Tom Arthurs <tarthurs(at)jobflash(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Postgresql on an AMD64 machine
Date: 2005-06-07 20:27:55
Message-ID: 20050607202755.GA28361@surnet.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Tue, Jun 07, 2005 at 04:19:24PM -0400, Donald Courtney wrote:

> The system has 8 CPUs w/ 32 GB - I'm hoping to see some benefit to large
> caches -
> Am I missing something key with postgreSQL?

Yeah. Postgres makes extensive use of the kernel's cache (or, more
precisely, assumes that the kernel is doing some caching on its own).
So the bulk of the memory should be left to the kernel to handle, and
shared_buffers be set relatively slow.

This was the standard wisdom with releases previous to 8.0; I'm not sure
if anyone confirmed to still hold after the buffer manager changes in
8.0 and later in 8.1 -- we saw extensive redesign of the bufmgr on both,
so the behavior may have changed. If you wanna test, I'm sure lots of
people here will be interested in the results.

--
Alvaro Herrera (<alvherre[a]surnet.cl>)
"This is a foot just waiting to be shot" (Andrew Dunstan)

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Arthurs 2005-06-07 20:39:04 Re: Postgresql on an AMD64 machine
Previous Message Joshua D. Drake 2005-06-07 20:27:54 Re: Postgresql on an AMD64 machine