pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Glyn Astill <glynastill@yahoo.co.uk>
To: Scott Ribe <scott_ribe@elevated-dev.com>
To: Michael Heaney <mheaney@jcvi.org>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Huge pages not working on PG 9.4
Date: Sat, 17 Jan 2015 16:46:20 +0000 (UTC)
Message-ID: <136247579.2784441.1421513180763.JavaMail.yahoo@jws11110.mail.ir2.yahoo.com> (raw)
In-Reply-To: <2AC05EB2-A9EB-4C5D-A177-C3710AA8BF66@elevated-dev.com>
References: <2AC05EB2-A9EB-4C5D-A177-C3710AA8BF66@elevated-dev.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

> 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_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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (11+ messages)

Message-ID: <136247579.2784441.1421513180763.JavaMail.yahoo@jws11110.mail.ir2.yahoo.com>
Permalink:  ../136247579.2784441.1421513180763.JavaMail.yahoo@jws11110.mail.ir2.yahoo.com/
Also on:    postgresql.org/message-id/136247579.2784441.1421513180763.JavaMail.yahoo@jws11110.mail.ir2.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: glynastill@yahoo.co.uk, scott_ribe@elevated-dev.com, mheaney@jcvi.org
  Subject: Re: Huge pages not working on PG 9.4
  In-Reply-To: <136247579.2784441.1421513180763.JavaMail.yahoo@jws11110.mail.ir2.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox