Re: [Testperf-general] Re: First set of OSDL Shared Memscalability

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Simon Riggs <simon(at)2ndquadrant(dot)com>, "Timothy D(dot) Witham" <wookie(at)osdl(dot)org>, josh(at)agliodbs(dot)com, pgsql-performance(at)postgresql(dot)org, testperf-general(at)pgfoundry(dot)org
Subject: Re: [Testperf-general] Re: First set of OSDL Shared Memscalability
Date: 2004-10-15 16:57:35
Message-ID: 200410151657.i9FGvZQ13745@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

Tom Lane wrote:
> > I've been thinking about implementing a scheme that helps you decide how
> > big the shared_buffers SHOULD BE, by making the LRU list bigger than the
> > cache itself, so you'd be able to see whether there is beneficial effect in
> > increasing shared_buffers.
>
> ARC already keeps such a list --- couldn't you learn what you want to
> know from the existing data structure? It'd be fairly cool if we could
> put out warnings "you ought to increase shared_buffers" analogous to the
> existing facility for noting excessive checkpointing.

Agreed. ARC already keeps a list of buffers it had to push out recently
so if it needs them again soon it knows its sizing of recent/frequent
might be off (I think). Anyway, such a log report would be super-cool,
say if you pushed out a buffer and needed it very soon, and the ARC
buffers are already at their maximum for that buffer pool.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-10-15 17:27:07 Re: plperl Safe restrictions
Previous Message Yann Michel 2004-10-15 16:49:39 Re: plans for bitmap indexes?

Browse pgsql-performance by date

  From Date Subject
Next Message Bruce Momjian 2004-10-15 17:02:20 Re: Does PostgreSQL run with Oracle?
Previous Message Richard_D_Levine 2004-10-15 16:54:44 Does PostgreSQL run with Oracle?