hugepagesize instead of PAGE_SIZE - Mailing list pgsql-docs

From dbaffaleuf@capdata-osmozium.com
Subject hugepagesize instead of PAGE_SIZE
Date
Msg-id 20161021160224.1414.57667@wrigleys.postgresql.org
Whole thread Raw
List pgsql-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:

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


should be :

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

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

Thx,

pgsql-docs by date:

Previous
From: Jürgen Purtz
Date:
Subject: Re: Docbook 5.x
Next
From: piotrwlodarczyk89@gmail.com
Date:
Subject: 18.4.4. Linux huge pages