[doc fix] Correct calculation of vm.nr_hugepages - Mailing list pgsql-hackers

From Tsunakawa, Takayuki
Subject [doc fix] Correct calculation of vm.nr_hugepages
Date
Msg-id 0A3221C70F24FB45833433255569204D1F8CC9B6@G01JPEXMBYT05
Whole thread Raw
Responses Re: [doc fix] Correct calculation of vm.nr_hugepages
List 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


Attachment

pgsql-hackers by date:

Previous
From: Anthony Bykov
Date:
Subject: Re: [PATCH] Add missing type conversion functions for PL/Python
Next
From: Ashutosh Bapat
Date:
Subject: Re: spelling of enable_partition_wise_join