Re: PostgreSQL and HugePage - Mailing list pgsql-hackers

From Robert Haas
Subject Re: PostgreSQL and HugePage
Date
Msg-id AANLkTikzkGjFnNqBXQq7XQh3b=v7VFwBUL0ZHBY=3uo_@mail.gmail.com
Whole thread Raw
In response to Re: PostgreSQL and HugePage  (daveg <daveg@sonic.net>)
Responses Re: PostgreSQL and HugePage
List pgsql-hackers
On Tue, Oct 19, 2010 at 11:30 PM, daveg <daveg@sonic.net> wrote:
> On Wed, Oct 20, 2010 at 04:08:37PM +1300, Mark Kirkwood wrote:
>> On 20/10/10 16:05, Mark Kirkwood wrote:
>> >
>> >
>> >shmget and friends are hugetlbpage  aware, so it seems it should 'just
>> >work'.
>> >
>>
>> Heh - provided you specify
>>
>> SHM_HUGETLB
>>
>>
>> in the relevant call that is :-)
>
> I had a patch for this against 8.3 that I could update if there is any
> interest. I suspect it is helpful.

I think it would be a good feature.  Of course, we would need
appropriate documentation, and some benchmarks showing that it really
works.

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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: max_wal_senders must die
Next
From: Dimitri Fontaine
Date:
Subject: Re: Extensions, this time with a patch