[doc fix] Correct calculation of vm.nr_hugepages

Поиск
Список
Период
Сортировка
От Tsunakawa, Takayuki
Тема [doc fix] Correct calculation of vm.nr_hugepages
Дата
Msg-id 0A3221C70F24FB45833433255569204D1F8CC9B6@G01JPEXMBYT05
обсуждение исходный текст
Ответы Re: [doc fix] Correct calculation of vm.nr_hugepages
Список pgsql-hackers
Hello,

The current PostgreSQL documentation overestimates the number of huge pages (vm.nr_hugepages) because the calculation
usesthe maximum virtual address space.  In practice, huge pages are only used for the anonymous shared memory segment.
Theattached patch fixes the documentation.
 

FYI, Oracle presents a shell script to calculate the number of huge pages for its shared memory segments:

https://docs.oracle.com/cd/E11882_01/server.112/e10839/appi_vlm.htm#UNXAR385

Regards
Takayuki Tsunakawa


Вложения

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