Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ebd33f2

Browse files
committed
doc: mention more changes needed to use huge pages
Report by Laurence Parry
1 parent fe65280 commit ebd33f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

doc/src/sgml/runtime.sgml

+7
Original file line numberDiff line numberDiff line change
@@ -1360,6 +1360,13 @@ $ <userinput>sysctl -w vm.nr_hugepages=3170</userinput>
13601360
this setting through reboots.
13611361
</para>
13621362

1363+
<para>
1364+
It is also necessary to give the database server operating system
1365+
user permission to use huge pages by setting
1366+
<varname>vm.hugetlb_shm_group</> via <application>sysctl</>, and
1367+
permission to lock memory with <command>ulimit -l</>.
1368+
</para>
1369+
13631370
<para>
13641371
The default behavior for huge pages in
13651372
<productname>PostgreSQL</productname> is to use them when possible and

0 commit comments

Comments
 (0)