pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: dbaffaleuf@capdata-osmozium.com
To: pgsql-docs@postgresql.org
Subject: hugepagesize instead of PAGE_SIZE
Date: Fri, 21 Oct 2016 16:02:24 +0000
Message-ID: <20161021160224.1414.57667@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/static/kernel-resources.html
Description:

Hi,

As per the documentation:

&quot;6490428 / 2048 (PAGE_SIZE is 2MB in this case) are roughly 3169.154 huge
pages, so you will need at least 3170 huge pages:&quot;


should be :

&quot;6490428 / 2048 (HugePageSize is 2MB in this case) are roughly 3169.154 huge
pages, so you will need at least 3170 huge pages:&quot;

getconf PAGE_SIZE reports 4096 bytes and refers to the VM page size , not
the huge page size. 

Thx,

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


Message-ID: <20161021160224.1414.57667@wrigleys.postgresql.org>
Permalink:  ../20161021160224.1414.57667@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20161021160224.1414.57667@wrigleys.postgresql.org

 · 

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-docs@postgresql.org
  Cc: dbaffaleuf@capdata-osmozium.com
  Subject: Re: hugepagesize instead of PAGE_SIZE
  In-Reply-To: <20161021160224.1414.57667@wrigleys.postgresql.org>

* 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