Re: Decrease MAX_BACKENDS to 2^16 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Decrease MAX_BACKENDS to 2^16
Date
Msg-id 12395.1398697032@sss.pgh.pa.us
Whole thread Raw
In response to Re: Decrease MAX_BACKENDS to 2^16  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Decrease MAX_BACKENDS to 2^16
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2014-04-28 10:03:58 -0400, Tom Lane wrote:
>> What I find much more worrisome about Andres' proposals is that he
>> seems to be thinking that there are *no* other changes to the buffer
>> headers on the horizon.

> Err. I am not thinking that at all. I am pretty sure I never made that
> argument. The reason I want to limit the number of connections is it
> allows *both*, shrinking the size of BufferDescs due to less alignment
> padding *and* stuffing the refcount and flags into one integer.

Weren't you saying you also wanted to stuff the usage count into that same
integer?  That's getting a little too tight for my taste, even if it would
fit today.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [COMMITTERS] pgsql: Can't completely get rid of #ifndef FRONTEND in palloc.h :-(
Next
From: Tom Lane
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Can't completely get rid of #ifndef FRONTEND in palloc.h :-(