Commit ebd33f27 authored by Bruce Momjian's avatar Bruce Momjian

doc: mention more changes needed to use huge pages

Report by Laurence Parry
parent fe65280f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment