pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
'postmaster -B [nBuffers]'
2+ messages / 2 participants
[nested] [flat]

* 'postmaster -B [nBuffers]'
@ 2000-04-13 14:19  Jack Zhu <jzhu@netcom-sys.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jack Zhu @ 2000-04-13 14:19 UTC (permalink / raw)
  To: pgsql-admin

The default for disk buffers number is 64. I think it's not big enough.
If my box has 128 or 256 MB RAM, what's the percentage of RAM should be
assigned to postmaster by using '-B' option? Any experience about the
performence regarding to the change of buffer size?

Thanks!




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: 'postmaster -B [nBuffers]'
@ 2000-04-14 22:46  Chris Albertson <chrisja@jps.net>
  parent: Jack Zhu <jzhu@netcom-sys.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Chris Albertson @ 2000-04-14 22:46 UTC (permalink / raw)
  To: Jack Zhu <jzhu@netcom-sys.com>; +Cc: pgsql-admin

Jack Zhu wrote:
> 
> The default for disk buffers number is 64. I think it's not big enough.
> If my box has 128 or 256 MB RAM, what's the percentage of RAM should be
> assigned to postmaster by using '-B' option? Any experience about the
> performence regarding to the change of buffer size?


Try this:  Run the "top" display and watch the CPU utilization.
Add buffers and/or more physical RAM untill your Postgresql
server becomes CPU bound.  You can tell if it is when the
utilization is close to 100%.  If the CPU utilization is low
it means the CPU is waiting on the disk.

A direct answer is "B = a few thousand"

   --Chris Albertson             home: chrisja@jps.net        
     Redondo Beach, California   work: calbertson@logicon.com



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2000-04-14 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-04-13 14:19 'postmaster -B [nBuffers]' Jack Zhu <jzhu@netcom-sys.com>
2000-04-14 22:46 ` Chris Albertson <chrisja@jps.net>

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