Re: PostgreSQL and HugePage

Поиск
Список
Период
Сортировка
От Mark Kirkwood
Тема Re: PostgreSQL and HugePage
Дата
Msg-id 4CBE5C81.10300@catalyst.net.nz
обсуждение исходный текст
Ответ на Re: PostgreSQL and HugePage  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: PostgreSQL and HugePage  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
Список pgsql-hackers
On 20/10/10 15:10, Robert Haas wrote:
> On Tue, Oct 19, 2010 at 8:39 PM, Hsien-Wen Chu<chu.hsien.wen@gmail.com>  wrote:
>    
>> I want to use hugepage function on Linux platform, my question is if
>> PostgreSQL supports hugepage in default, if not, what's the code need to be
>> modified?
>>      
> Unfortunately, I don't think this is too simple.  PostgreSQL uses sysv
> shared memory, not POSIX shared memory.  I don't know of a way to use
> sysv shared memory with hugetlb.
>
>    

According to:

http://devresources.linuxfoundation.org/dev/robustmutexes/src/fusyn.hg/Documentation/vm/hugetlbpage.txt

shmget and friends are hugetlbpage  aware, so it seems it should 'just 
work'. However, I have not checked...

Cheers

Mark


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: ISN patch that applies cleanly with git apply
Следующее
От: Mark Kirkwood
Дата:
Сообщение: Re: PostgreSQL and HugePage