Re: Hardware upgrade for a high-traffic database - Mailing list pgsql-performance

From Brian Hirt
Subject Re: Hardware upgrade for a high-traffic database
Date
Msg-id DA21B257-EBDD-11D8-AF1E-000D93AD2E74@mobygames.com
Whole thread Raw
In response to Re: Hardware upgrade for a high-traffic database  ("Jason Coene" <jcoene@gotfrag.com>)
Responses Re: Hardware upgrade for a high-traffic database
List pgsql-performance
On Aug 11, 2004, at 3:18 PM, Jason Coene wrote:
>
> I'm wondering why our PG server is using so little memory...  The
> system has
> 2GB of memory, though only around 200MB of it are used.  Is there a PG
> setting to force more memory usage towards the cache?  Additionally,
> we use
> FreeBSD.  I've heard that Linux may manage that memory better, any
> truth
> there?  Sorry if I'm grabbing at straws here :)
>

i don't know about freebsd, but linux is very aggressive about using
unused memory for disk cache.  we have dedicated linux box running pg
with 2gb of memory,   about 250mb of memory is being used by processes
(system+postgres) and shared memory (postgres only), and there is
1.75gb of disk buffers in use in the kernel.  this particular database
is only about 4gb, so a good portion of the db resides in memory,
certainly most of the active set.  the disk subsystem is a 6 disk scsi
u160 raid array which performs pretty well when there is io.


pgsql-performance by date:

Previous
From: "Jason Coene"
Date:
Subject: Re: Hardware upgrade for a high-traffic database
Next
From: Rod Taylor
Date:
Subject: Re: Hardware upgrade for a high-traffic database