Re: dynamically allocating chunks from shared memory - Mailing list pgsql-hackers

From Markus Wanner
Subject Re: dynamically allocating chunks from shared memory
Date
Msg-id 4C60569C.3020700@bluegap.ch
Whole thread Raw
In response to Re: dynamically allocating chunks from shared memory  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 08/09/2010 09:14 PM, Tom Lane wrote:
> As far as SLRU is concerned, the already-agreed-to plan is to get rid of
> the separate arenas for SLRU and merge those things into the main shared
> buffers arena.

I didn't know about that plan. Sounds good. (I'm personally thinking 
this is trying to solve the same problem in a more specific fashion).

> IIRC, the motivation for designing SLRU the way it is
> was to ensure that SLRU uses couldn't be starved for memory due to high
> demand for shared buffers.  But that was back when people frequently ran
> PG with only a few meg for shared buffers; I think that worry is
> obsolete.

Good to know.

> So I don't see this patch as offering anything at all that we care about
> so far as the core server is concerned.  Maybe there are extensions that
> need it badly enough to justify such a feature in core, but SLRU is not
> a good argument for it.

Fair enough.

(Patch is already marked as "returned with feedback" on the commitfest 
app, thanks again for additional feedback)

Regards

Markus Wanner


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: host name support in pg_hba.conf
Next
From: Stephen Frost
Date:
Subject: Re: host name support in pg_hba.conf