pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: piotrwlodarczyk89@gmail.com
To: pgsql-docs@postgresql.org
Subject: 18.4.4. Linux huge pages
Date: Fri, 21 Oct 2016 16:43:51 +0000
Message-ID: <20161021164351.1411.39835@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.6/static/kernel-resources.html
Description:

Hi,

it&#39;s a mistake in 18.4.4. Linux huge pages (also in 9.4 and 9.5
documentation). Example how to count number f huge pages says:

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

It&#39;s very rare that PAGE_SIZE is 2MB. It&#39;s more common situation that the
value is 4096KB. But it&#39;s not a problem.

The VmPeak should by divded not by PAGE_SIZE but by Hugepagesize listed by
cat /proc/meminfo | grep Hugepagesize. 



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


view thread (2+ messages)  latest in thread

Message-ID: <20161021164351.1411.39835@wrigleys.postgresql.org>
Permalink:  ../20161021164351.1411.39835@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20161021164351.1411.39835@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: piotrwlodarczyk89@gmail.com
  Subject: Re: 18.4.4. Linux huge pages
  In-Reply-To: <20161021164351.1411.39835@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