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

From: Peter Geoghegan <pg(at)heroku(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)
Date: 2014-01-29 19:17:51
Message-ID: CAM3SWZSM+Zi5GZcA0zOkisDC-r54PKK+M0sd=Lb5D99XLO6wcg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Wed, Jan 29, 2014 at 4:12 AM, Heikki Linnakangas
<heikki(dot)linnakangas(at)iki(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Christian Kruse 2014-01-29 19:24:18 Re: pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)
Previous Message Bruce Momjian 2014-01-29 18:31:17 pgsql: Fix pointer processing in new entab.c function