pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shridhar Daithankar <shridhar_daithankar@myrealbox.com>
To: Benjamin Bostow <ben@viatornetworks.com>
To: Performance <pgsql-performance@postgresql.org>
Subject: Re: High Processor consumption
Date: Thu, 20 Nov 2003 11:28:13 +0530
Message-ID: <3FBC57F5.8070705@myrealbox.com> (raw)
In-Reply-To: <1069264247.1955.25.camel@localhost.localdomain>
References: <1069204784.1955.16.camel@localhost.localdomain>
	<3FBB0EE4.6010805@myrealbox.com>
	<1069264247.1955.25.camel@localhost.localdomain>

Benjamin Bostow wrote:

> I haven't modified any of the setting. I did try changing shmmax from
> 32MB to 256MB but didn't see much change in the processor usage. The
> init script that runs to start the server uses the following:
> su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl  -D $PGDATA -p
> /usr/bin/postmaster -o \"-i -N 128 -B 256\" start  > /dev/null 2>&1" <
> /dev/null

Lol.. -B 256 does not mean 256MB of buffers. It means 2MB of buffers. Each 
buffer is of 8K. Try upping it to a 1000 or 2000
> 
> I haven't modified postgresql.conf yet but am going through a book on
> performance tuning the server. If you can provide any suggestions or
> help as I am new to postgres it would be appreciated.

http://www.varlena.com/varlena/GeneralBits/Tidbits/perf.html

  HTH

  Shridhar




view thread (3+ messages)

Message-ID: <3FBC57F5.8070705@myrealbox.com>
Permalink:  ../3FBC57F5.8070705@myrealbox.com/
Also on:    postgresql.org/message-id/3FBC57F5.8070705@myrealbox.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: shridhar_daithankar@myrealbox.com, ben@viatornetworks.com
  Subject: Re: High Processor consumption
  In-Reply-To: <3FBC57F5.8070705@myrealbox.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