Re: Improve logging when using Huge Pages

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Improve logging when using Huge Pages
Дата
Msg-id ZIkGp8SMj2oL/YV4@paquier.xyz
обсуждение исходный текст
Ответ на Re: Improve logging when using Huge Pages  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Tue, Jun 13, 2023 at 02:50:30PM +0900, Michael Paquier wrote:
> +       Assert(strcmp("unknown", GetConfigOption("huge_pages_status", false, false)) != 0);
>
> Not sure that there is anything to gain with this assertion in
> CreateSharedMemoryAndSemaphores(), because this is pretty much what
> check_GUC_init() looks after?

There was a second thing that bugged me here.  Would it be worth
adding some checks on huge_pages_status to make sure that it is never
reported as unknown when the server is up and running?  I am not sure
what would be the best location for that because there is nothing
specific to huge pages in the tests yet, but authentication/ with
005_sspi.pl and a second one would do the job?
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: add non-option reordering to in-tree getopt_long
Следующее
От: Noah Misch
Дата:
Сообщение: Re: add non-option reordering to in-tree getopt_long