> From: Scott Ribe <scott_ribe@elevated-dev.com>
> To: Michael Heaney <mheaney@jcvi.org>
> Cc: "pgsql-admin@postgresql.org" <pgsql-admin@postgresql.org>
> Sent: Friday, 16 January 2015, 23:39
> Subject: Re: [ADMIN] Huge pages not working on PG 9.4
>
> On Jan 16, 2015, at 3:50 PM, Michael Heaney <mheaney@jcvi.org> wrote:
>>
>> 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.
>
> Possibly configure needed to see the settings you just made? (I really have
> idea--that first link I posted exhausted my knowledge on that subject.)
>
I've very thin knowledge on this too, but I'll chip in with what I remember. Not sure if you'd have to set
hugetlb_shm_groupto the gid of the postgres user.
And I think you can see what support your kernel was compiled with this:
$ grep HUGE /boot/config-$(uname -r)
And a quick peek at what you've got set up currently:
$ grep -R "" /sys/kernel/mm/hugepages/ /proc/sys/vm/*huge*
$ cat /proc/meminfo |grep Huge
Perhaps if you post those to the list it'd help someone advise?