Re: Improve logging when using Huge Pages

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Improve logging when using Huge Pages
Дата
Msg-id 3239882.1667836576@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Improve logging when using Huge Pages  (Andres Freund <andres@anarazel.de>)
Ответы Re: Improve logging when using Huge Pages  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2022-11-06 14:04:29 +0700, John Naylor wrote:
>> I think the best thing to do is change huge_pages='on' to log a WARNING and
>> fallback to regular pages if the mapping fails.

> I am strongly opposed to making 'on' fall back to not using huge pages. That's
> what 'try' is for.

Agreed --- changing "on" to be exactly like "try" isn't an improvement.
If you want "try" semantics, choose "try".

            regards, tom lane



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

Предыдущее
От: "Jonathan S. Katz"
Дата:
Сообщение: 2022-11-10 release announcement draft
Следующее
От: Erikjan Rijkers
Дата:
Сообщение: Re: 2022-11-10 release announcement draft