Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)
Дата
Msg-id CAM3SWZSM+Zi5GZcA0zOkisDC-r54PKK+M0sd=Lb5D99XLO6wcg@mail.gmail.com
обсуждение исходный текст
Ответ на pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)  (Heikki Linnakangas <heikki.linnakangas@iki.fi>)
Ответы Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)  (Christian Kruse <christian@2ndQuadrant.com>)
Список pgsql-committers
On Wed, Jan 29, 2014 at 4:12 AM, Heikki Linnakangas
<heikki.linnakangas@iki.fi> wrote:
> Allow using huge TLB pages on Linux (MAP_HUGETLB)

The documentation says:

+        Remember that you will need at least shared_buffers / huge page size +
+        1 huge TLB pages. So for example for a system with 6GB shared buffers
+        and a hugepage size of 2kb of you will need at least 3156 huge pages.

I think that this should say 2MiB rather than 2kb. Or 2M, if you prefer.

--
Peter Geoghegan


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Fix pointer processing in new entab.c function
Следующее
От: Christian Kruse
Дата:
Сообщение: Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)