Re: Huge pages not working on PG 9.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Scott Ribe <scott_ribe@xxxxxxxxxxxxxxxx>


> To: Michael Heaney <mheaney@xxxxxxxx>
> Cc: "pgsql-admin@xxxxxxxxxxxxxx" <pgsql-admin@xxxxxxxxxxxxxx>
> Sent: Friday, 16 January 2015, 23:39
> Subject: Re:  Huge pages not working on PG 9.4
> 
> On Jan 16, 2015, at 3:50 PM, Michael Heaney <mheaney@xxxxxxxx> 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?


-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux