Re: huge tlb support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: huge tlb support
Дата
Msg-id 9331.1341285484@sss.pgh.pa.us
обсуждение исходный текст
Ответ на huge tlb support  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: huge tlb support  (Andres Freund <andres@2ndquadrant.com>)
Re: huge tlb support  (yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi))
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Fri, Jun 29, 2012 at 3:52 PM, Andres Freund <andres@2ndquadrant.com> wrote:
>> In a *very* quick patch I tested using huge pages/MAP_HUGETLB for the mmap'ed
>> memory.

> So, considering that there is required setup, it seems that the
> obvious thing to do here is add a GUC: huge_tlb_pages (boolean).

> The other alternative is to try with MAP_HUGETLB and, if it fails, try
> again without MAP_HUGETLB.

+1 for not making people configure this manually.

Also, I was under the impression that recent Linux kernels use hugepages
automatically if they can, so I wonder exactly what Andres was testing
on ...
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Patch: add conversion from pg_wchar to multibyte
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Event Triggers reduced, v1