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