Skip site navigation (1) Skip section navigation (2)

Re: huge tlb support

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: huge tlb support
Date: 2012-07-03 12:45:40
Message-ID: CA+TgmoZVU7-PE2RUFAVJ0w9Fkg17RKutyfK9_sawRj8zAemCcw@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-hackers
On Tue, Jul 3, 2012 at 8:23 AM, Andres Freund <andres(at)2ndquadrant(dot)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

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2012-07-03 12:47:33
Subject: Re: Oracle porting sample instr function
Previous:From: Albe LaurenzDate: 2012-07-03 12:42:30
Subject: Re: Oracle porting sample instr function

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group