Re: Improve logging when using Huge Pages

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: Improve logging when using Huge Pages
Дата
Msg-id 20230209192909.GA606606@nathanxps13
обсуждение исходный текст
Ответ на Re: Improve logging when using Huge Pages  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: Improve logging when using Huge Pages  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
On Thu, Feb 09, 2023 at 10:40:13AM +0100, Alvaro Herrera wrote:
> On 2023-Feb-08, Justin Pryzby wrote:
>> I don't think it makes sense to run postgres -C huge_pages_active,
>> however, so I see no issue that that would always returns "false".
> 
> Hmm, I would initialize it to return "unknown" rather than "off" — and
> make sure it turns "off" at the appropriate time.  Otherwise you're just
> moving the confusion elsewhere.

I think this approach would address my concerns about using a GUC.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Worth using personality(ADDR_NO_RANDOMIZE) for EXEC_BACKEND on linux?
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Weird failure with latches in curculio on v15