Re: Estimating HugePages Requirements? - Mailing list pgsql-hackers

From Bossart, Nathan
Subject Re: Estimating HugePages Requirements?
Date
Msg-id C35CB94F-D391-4E52-AB08-A726112FA852@amazon.com
Whole thread Raw
In response to Re: Estimating HugePages Requirements?  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: Estimating HugePages Requirements?
List pgsql-hackers
On 9/8/21, 12:11 AM, "Fujii Masao" <masao.fujii@oss.nttdata.com> wrote:
> Thanks for adding useful feature!

:)

> +               {"shared_memory_size", PGC_INTERNAL, RESOURCES_MEM,
>
> When reading the applied code, I found the category of shared_memory_size
> is RESOURCES_MEM. Why? This seems right because the parameter is related
> to memory resource. But since its context is PGC_INTERNAL, PRESET_OPTIONS
> is more proper as the category? BTW, the category of any other
> PGC_INTERNAL parameters seems to be PRESET_OPTIONS.

Yeah, I did wonder about this.  We're even listing it in the "Preset
Options" section in the docs.  I updated this in the new patch set,
which is attached.

Nathan


Attachment

pgsql-hackers by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: Estimating HugePages Requirements?
Next
From: Tom Lane
Date:
Subject: Re: VARDATA_COMPRESSED_GET_COMPRESS_METHOD comment?