Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YCIpu-0004SD-Su for pgsql-admin@arkaria.postgresql.org; Sat, 17 Jan 2015 02:10:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YCIpt-00053G-AA for pgsql-admin@arkaria.postgresql.org; Sat, 17 Jan 2015 02:10:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YCIpr-000537-8x for pgsql-admin@postgresql.org; Sat, 17 Jan 2015 02:09:59 +0000 Received: from p02c12o148.mxlogic.net ([208.65.145.81]) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YCIpn-0002u9-7h for pgsql-admin@postgresql.org; Sat, 17 Jan 2015 02:09:57 +0000 Received: from unknown [192.207.234.194] (EHLO ExHubCas2.TIGR.ORG) by p02c12o148.mxlogic.net(mxl_mta-8.2.0-3) with ESMTP id 374c9b45.2af5d181b940.12011.00-515.29713.p02c12o148.mxlogic.net (envelope-from ); Fri, 16 Jan 2015 19:09:55 -0700 (MST) X-MXL-Hash: 54b9c47323bdb27d-9fb0093d3dce0243c1bf3e4978587c3b3e96bbe1 Received: from unknown [192.207.234.194] (EHLO ExHubCas2.TIGR.ORG) by p02c12o148.mxlogic.net(mxl_mta-8.2.0-3) over TLS secured channel with ESMTP id 814c9b45.0.11721.00-387.28953.p02c12o148.mxlogic.net (envelope-from ); Fri, 16 Jan 2015 19:08:28 -0700 (MST) X-MXL-Hash: 54b9c41c77f85227-c98c3cc0eb33f5205c9daacec23388cab8b56ff3 Received: from [172.18.5.237] (172.18.5.237) by ExHubCas2.TIGR.ORG (172.17.5.94) with Microsoft SMTP Server id 8.3.389.2; Fri, 16 Jan 2015 21:08:23 -0500 Message-ID: <54B9C41D.10109@jcvi.org> Date: Fri, 16 Jan 2015 21:08:29 -0500 From: Michael Heaney User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Tom Lane CC: "pgsql-admin@postgresql.org" Subject: Re: Huge pages not working on PG 9.4 References: <54B98BB5.4050902@jcvi.org> <73DC9DCF-7C2D-49F7-8E8C-19F9C9E13854@elevated-dev.com> <54B991F5.7040505@jcvi.org> <54B995CE.5010301@jcvi.org> <28981.1421452694@sss.pgh.pa.us> In-Reply-To: <28981.1421452694@sss.pgh.pa.us> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-AnalysisOut: [v=2.1 cv=HqxiGijS c=1 sm=1 tr=0 a=w1dbv1SI/ukx7BArlIOzxg==] X-AnalysisOut: [:117 a=w1dbv1SI/ukx7BArlIOzxg==:17 a=DgqbUt__V68A:10 a=BLc] X-AnalysisOut: [eEmwcHowA:10 a=N659UExz7-8A:10 a=QWZKEEUnAAAA:8 a=HpMKyOHa] X-AnalysisOut: [AAAA:8 a=YlVTAMxIAAAA:8 a=YNv0rlydsVwA:10 a=d4GX0UpebmpXPm] X-AnalysisOut: [jp8FkA:9 a=pILNOxqGKmIA:10] X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2015011617); S=0.200(2014051901)] X-MAIL-FROM: X-SOURCE-IP: [192.207.234.194] X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org On 1/16/2015 6:58 PM, Tom Lane wrote: > Michael Heaney writes: >>> FATAL: huge pages not supported on this platform >> 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 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 -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin