Re: huge tlb support - Mailing list pgsql-hackers

From Robert Haas
Subject Re: huge tlb support
Date
Msg-id CA+TgmoZVU7-PE2RUFAVJ0w9Fkg17RKutyfK9_sawRj8zAemCcw@mail.gmail.com
Whole thread Raw
In response to Re: huge tlb support  (Andres Freund <andres@2ndquadrant.com>)
List pgsql-hackers
On Tue, Jul 3, 2012 at 8:23 AM, Andres Freund <andres@2ndquadrant.com> wrote:
> On Tuesday, July 03, 2012 04:49:10 AM Robert Haas wrote:
>> 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.
> What about huge_tlb_pages = off|try|on with try being the default?

That seems reasonable to me.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: Oracle porting sample instr function
Next
From: Robert Haas
Date:
Subject: Re: Oracle porting sample instr function