Re: Huge pages not working on PG 9.4

Поиск
Список
Период
Сортировка
От Michael Heaney
Тема Re: Huge pages not working on PG 9.4
Дата
Msg-id 54B9C41D.10109@jcvi.org
обсуждение исходный текст
Ответ на Re: Huge pages not working on PG 9.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Huge pages not working on PG 9.4  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On 1/16/2015 6:58 PM, Tom Lane wrote:
> Michael Heaney <mheaney@jcvi.org> writes:
>>> FATAL:  huge pages not supported on this platform
>> <sigh>  Nope, that didn't make any difference.  Since I compile my own
>> binary,
>> I'm wondering if there's something that 'configure' didn't set properly.
> A quick look at the PG source code says that that message means that
> MAP_HUGETLB isn't defined.  Our code is expecting <sys/mman.h> to provide
> that symbol, which it should do by default according to what I can see on
> my RHEL 6.6 box.  Perhaps you've defined some of the feature restriction
> macros like _POSIX_SOURCE?
>
>             regards, tom lane

Thanks for the helpful clue, Tom.  I haven't knowingly defined
_POSIX_SOURCE or any other macros. I go through the same configure/make
process on the Centos 6.6 VM on my home PC, and huge pages works just
fine.  Maybe it's an issue with CentOS  6.4?

--
Michael Heaney
JCVI




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Huge pages not working on PG 9.4
Следующее
От: Michael Heaney
Дата:
Сообщение: Re: Huge pages not working on PG 9.4