Add OS/X kernel tuning section.

This commit is contained in:
Bruce Momjian 2002-11-05 23:16:56 +00:00
parent ab4ee6c4bd
commit a8c18b980e
1 changed files with 23 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.147 2002/11/03 01:31:32 momjian Exp $
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.148 2002/11/05 23:16:56 momjian Exp $
-->
<Chapter Id="runtime">
@ -2583,6 +2583,28 @@ kernel.shmmax = 134217728
</varlistentry>
<varlistentry>
<term><systemitem class="osname">OS/X</></term>
<indexterm><primary>OS/X</></>
<listitem>
<para>
Edit the file
<filename>/System/Library/StartupItems/SystemTuning/SystemTuning
</> and edit the following values:
<programlisting>
sysctl -w kern.sysv.shmmax
sysctl -w kern.sysv.shmmin
sysctl -w kern.sysv.shmmni
sysctl -w kern.sysv.shmseg
sysctl -w kern.sysv.shmall
</programlisting>
These values have the same meanings on OS/X as those listed for
previous operating systems.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><systemitem class="osname">SCO OpenServer</></term>
<indexterm><primary>SCO OpenServer</></>