Re: [HACKERS] [RFC] Should "SHOW huge_pages" display the effectivevalue "off" when the huge page is unavailable?

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: [HACKERS] [RFC] Should "SHOW huge_pages" display the effectivevalue "off" when the huge page is unavailable?
Дата
Msg-id CAHGQGwFv7hg=-QpU1Y5Z2H8yAPMWJS5es5p+iJwXpJ9h1pmQpg@mail.gmail.com
обсуждение исходный текст
Ответ на [HACKERS] [RFC] Should "SHOW huge_pages" display the effective value "off"when the huge page is unavailable?  ("Tsunakawa, Takayuki" <tsunakawa.takay@jp.fujitsu.com>)
Ответы Re: [HACKERS] [RFC] Should "SHOW huge_pages" display the effective value "off" when the huge page is unavailable?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Feb 6, 2017 at 4:01 PM, Tsunakawa, Takayuki
<tsunakawa.takay@jp.fujitsu.com> wrote:
> Hello, all
>
> Could you give me your opinions on whether the SHOW command should display the effective value or the specified value
forhuge_pages?  During the review of "Supporting huge_pages on Windows", which is now shifted to CommitFest 2017-3,
Magnusgave me a comment that the huge_page variable should retain the value "try" when the huge page is not available
onthe machine and the server falls back to huge_page=off.  The Linux version does so. 
>
> I don't have a strong opinion on that, but I think a bit that it would be better to reflect the effective setting,
i.e.SHOW displays huge_pages as off, not try. 

Not sure if this is best way to do that, but I agree that it's helpful if
we can see whether the server actually uses huge page or not in
huge_page=try case.

Regards,

--
Fujii Masao



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [HACKERS] SCRAM authentication, take three
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] [RFC] Should "SHOW huge_pages" display the effective value "off" when the huge page is unavailable?