From: | "Bossart, Nathan" <bossartn(at)amazon(dot)com> |
---|---|
To: | Michael Paquier <michael(at)paquier(dot)xyz> |
Cc: | Justin Pryzby <pryzby(at)telsasoft(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, Magnus Hagander <magnus(at)hagander(dot)net>, Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, Don Seiler <don(at)seiler(dot)us>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Estimating HugePages Requirements? |
Date: | 2021-09-06 23:55:42 |
Message-ID: | 89EFD5FB-3C28-459C-9D6D-C9F93F7C2A54@amazon.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-hackers |
On 9/5/21, 9:26 PM, "Bossart, Nathan" <bossartn(at)amazon(dot)com> wrote:
> On 9/5/21, 7:28 PM, "Michael Paquier" <michael(at)paquier(dot)xyz> wrote:
>> Without concluding on 0002 yet, another thing that we could do is to
>> just add the GUCs. These sound rather useful on their own (mixed
>> feelings about huge_pages_required but I can see why it is useful to
>> avoid the setup steps and the backend already grabs this information),
>> particularly when it comes to cloned setups that share a lot of
>> properties.
>
> I think this is a good starting point, but I'd like to follow up on
> making them visible without completely starting the server. The main
> purpose for adding these GUCs is to be able to set up huge pages
> before server startup. Disallowing "-C huge_pages_required" on a
> running server to enable this use-case seems like a modest tradeoff.
>
> Anyway, I'll restructure the remaining patches to add the GUCs first
> and then address the 0002 business separately.
Attached is a new patch set. The first two patches just add the new
GUCs, and the third is an attempt at providing useful values for those
GUCs via -C.
Nathan
Attachment | Content-Type | Size |
---|---|---|
v6-0003-Provide-useful-values-for-postgres-C-with-runtime.patch | application/octet-stream | 10.3 KB |
v6-0002-Introduce-huge_pages_required-GUC.patch | application/octet-stream | 5.0 KB |
v6-0001-Introduce-shared_memory_size-GUC.patch | application/octet-stream | 4.5 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2021-09-07 04:00:08 | Re: Estimating HugePages Requirements? |
Previous Message | CONVERS Yann - DREAL Auvergne-Rhône-Alpes/CIDDAE/SIG | 2021-09-06 08:26:00 | Re: Standby.signal file is not getting deleted after failover in all scanarios |
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2021-09-07 00:18:13 | Re: What are exactly bootstrap processes, auxiliary processes, standalone backends, normal backends(user sessions)? |
Previous Message | Hannu Krosing | 2021-09-06 23:33:28 | Re: The Free Space Map: Problems and Opportunities |