18.4.4. Linux huge pages

Поиск
Список
Период
Сортировка
От piotrwlodarczyk89@gmail.com
Тема 18.4.4. Linux huge pages
Дата
Msg-id 20161021164351.1411.39835@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: 18.4.4. Linux huge pages  (Andrew Kerber <andrew.kerber@gmail.com>)
Список pgsql-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'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's very rare that PAGE_SIZE is 2MB. It's more common situation that the
value is 4096KB. But it's not a problem.

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



В списке pgsql-docs по дате отправления:

Предыдущее
От: dbaffaleuf@capdata-osmozium.com
Дата:
Сообщение: hugepagesize instead of PAGE_SIZE
Следующее
От: Andrew Kerber
Дата:
Сообщение: Re: 18.4.4. Linux huge pages