pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Foster <martin@ethereal-realms.org>
To: Postgresql Performance <pgsql-performance@postgresql.org>
Cc: Shridhar Daithankar <shridhar_daithankar@persistent.co.in>
Subject: Re: Extreme high load averages
Date: Sun, 06 Jul 2003 04:26:21 -0600
Message-ID: <3F07F94D.50406@ethereal-realms.org> (raw)
In-Reply-To: <3F083CCA.31144.7468C@localhost>
References: <3F083CCA.31144.7468C@localhost>

Shridhar Daithankar wrote:

> On 5 Jul 2003 at 22:54, Martin Foster wrote:
> 
>>What I would like to know is.   Why?   The kernel has been compiled to 
>>handle the number of concurrent connections, the server may not be the 
>>best, but it should be able to handle the requests: PIII 1Ghz, 1GB 
>>SDRAM, 2 IDE 20GB drives.
>>
>>I have changed settings to take advantage of the memory.  So the 
>>following settings are of interest:
>>	shared_buffers = 16384
>>	wal_buffers = 256
>>	sort_mem = 16384
>>	vacuum_mem = 32768
> 
> 
> As somebody else has already pointed out, your sort_mem is bit too high
> than required. Try lowering it.
> 
> Secondly did you tune effective_cache_size?
> 
> HTH
> Bye
>  Shridhar
> 
> --
> Power, n.:	The only narcotic regulated by the SEC instead of the FDA.
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>       subscribe-nomail command to majordomo@postgresql.org so that your
>       message can get through to the mailing list cleanly

I dropped the size of the sort_mem down to 8 megs.   Since I am not 
swapping to cache at all this should not post much of a problem at that 
value.

effective_cache_size seems interesting, though the description is 
somewhat lacking.  Is this related to the swap partition and how much of 
it will be used by PostgreSQL?   If I am correct, this should be fairly low?
	Martin Foster
	Creator/Designer Ethereal Realms
	martin@ethereal-realms.org





view thread (22+ messages)  latest in thread

Message-ID: <3F07F94D.50406@ethereal-realms.org>
Permalink:  ../3F07F94D.50406@ethereal-realms.org/
Also on:    postgresql.org/message-id/3F07F94D.50406@ethereal-realms.org

 · 

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: martin@ethereal-realms.org, shridhar_daithankar@persistent.co.in
  Subject: Re: Extreme high load averages
  In-Reply-To: <3F07F94D.50406@ethereal-realms.org>
  References: <3F083CCA.31144.7468C@localhost> <3F07F94D.50406@ethereal-realms.org>

* 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