Configuring kernel parameters

Autotuned parameters

Autotuned parameters are kernel variables whose default values are automatically tuned according to the amount of memory that the system has.

For large memory systems (those with more than 1GB of general purpose memory) a distinction is made between autouned parameters which consume kernel virtual memory and those that simply manage physical memory.

For autotuned parameters, a table of information is provided from which mtune entries are created. This table is passed to the kernel to allow autotuning of these parameters when the system is initialized.

The mtune lines are recalculated whenever idtune or idbuild is run. The command idtune -g tunable-name provides the current, default, minimum, and maximum information for the tunable based on the amount of memory currently available.

The files specifying default, minimum and maximum values are in /etc/conf/autotune.d. The format for a line in an autotune file is:

   ``tunable-name''  ``record-type''  ``LINEAR|STEP''  ``memsize (in MB)''  ``value''

The fields are:

The name of the tunable parameter.

A ``PHYS'' entry in this field indicates that the parameter is autotuned using a method based on the amount of general purpose memory available. If the ``record type'' is ``PHYS'', subsequent fields are not used. Otherwise, the parameter is autotuned using a (default) method that takes both general purpose and kernel virtual memory into account. In this case, information is provided about whether the line pertains to the default value (``DEF''), minimum value (``MIN''), or maximum value (``MAX'').

Indicates whether values for larger amounts of memory should be calculated linearly or as a step function If the entry in the ``record type'' field is ``PHYS'' this field is not used.

The number of megabytes this line specifies information about. If the entry in the ``record type'' field is ``PHYS'' this field is not used.

The value of the parameter for the specified amount of memory. If the entry in the ``record type'' field is ``PHYS'' this field is not used.

Do not edit these files directly; instead, use configure(ADM) or idtune(ADM). If you add memory after tuning one of these tunables, perform an idtune -d tunable_name to reset autotuning.

For some parameters, the default and maximum values are autotuned; for others, only the maximum value is autotuned.

Next topic: Special case tuning needs
Previous topic: About tunable parameters

© 2007 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 05 June 2007