From: | Glyn Astill <glynastill(at)yahoo(dot)co(dot)uk> |
---|---|
To: | Scott Ribe <scott_ribe(at)elevated-dev(dot)com>, Michael Heaney <mheaney(at)jcvi(dot)org> |
Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Huge pages not working on PG 9.4 |
Date: | 2015-01-17 16:46:20 |
Message-ID: | 136247579.2784441.1421513180763.JavaMail.yahoo@jws11110.mail.ir2.yahoo.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
> From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
> To: Michael Heaney <mheaney(at)jcvi(dot)org>
> Cc: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)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(at)jcvi(dot)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_group to 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?
From | Date | Subject | |
---|---|---|---|
Next Message | Perry, Hemy | 2015-01-18 10:25:37 | pg_dump from older version and pg_restore in newer |
Previous Message | Michael Heaney | 2015-01-17 15:55:01 | Re: Huge pages not working on PG 9.4 |