Re: Estimating HugePages Requirements?

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, "tgl(at)sss(dot)pgh(dot)pa(dot)us" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "robertmhaas(at)gmail(dot)com" <robertmhaas(at)gmail(dot)com>, "masao(dot)fujii(at)oss(dot)nttdata(dot)com" <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, "pryzby(at)telsasoft(dot)com" <pryzby(at)telsasoft(dot)com>, "andres(at)anarazel(dot)de" <andres(at)anarazel(dot)de>, "magnus(at)hagander(dot)net" <magnus(at)hagander(dot)net>, "mark(dot)dilger(at)enterprisedb(dot)com" <mark(dot)dilger(at)enterprisedb(dot)com>, "don(at)seiler(dot)us" <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-16 17:06:11
Message-ID: C45224E1-29C8-414C-A8E6-B718C07ACB94@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

On 9/15/21, 7:42 PM, "Michael Paquier" <michael(at)paquier(dot)xyz> wrote:
> Fixed that, and applied. Could you rebase the last patch with the
> name suggested for the last GUC, including the docs? It looks like we
> are heading for shared_memory_size_in_huge_pages.

Thanks! And done.

For the huge pages setup documentation, I considered sending stderr to
/dev/null to eliminate the LOG from the output, but I opted against
that. That would've looked like this:

postgres -D $PGDATA -C shared_memory_size_in_huge_pages 2> /dev/null

Otherwise, there aren't any significant changes in this version of the
patch besides the name change.

Nathan

Attachment Content-Type Size
v11-0001-Introduce-shared_memory_size_in_huge_pages-GUC.patch application/octet-stream 9.5 KB

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Justin Pryzby 2021-09-16 17:14:27 Re: Estimating HugePages Requirements?
Previous Message Holger Jakobs 2021-09-16 15:08:05 Re: initdb fails with error

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2021-09-16 17:14:27 Re: Estimating HugePages Requirements?
Previous Message Tom Lane 2021-09-16 16:57:39 Re: EXPLAIN(VERBOSE) to CTE with SEARCH BREADTH FIRST fails