mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
doc: mention more changes needed to use huge pages
Report by Laurence Parry
This commit is contained in:
parent
fe65280fea
commit
ebd33f27ab
1 changed files with 7 additions and 0 deletions
|
|
@ -1360,6 +1360,13 @@ $ <userinput>sysctl -w vm.nr_hugepages=3170</userinput>
|
|||
this setting through reboots.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
It is also necessary to give the database server operating system
|
||||
user permission to use huge pages by setting
|
||||
<varname>vm.hugetlb_shm_group</> via <application>sysctl</>, and
|
||||
permission to lock memory with <command>ulimit -l</>.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The default behavior for huge pages in
|
||||
<productname>PostgreSQL</productname> is to use them when possible and
|
||||
|
|
|
|||
Loading…
Reference in a new issue