Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB) - Mailing list pgsql-committers

From Peter Geoghegan
Subject Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)
Date
Msg-id CAM3SWZSM+Zi5GZcA0zOkisDC-r54PKK+M0sd=Lb5D99XLO6wcg@mail.gmail.com
Whole thread Raw
In response to pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)  (Heikki Linnakangas <heikki.linnakangas@iki.fi>)
Responses Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Fix pointer processing in new entab.c function
Next
From: Christian Kruse
Date:
Subject: Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)