Top
Interstage Big DataParallel Processing ServerV1.0.1 User's Guide
FUJITSU Software

5.4 System Parameter Settings

The system parameters must be tuned.

Use the following procedure to tune system parameters:

  1. Use the following command to check the current settings for the system parameters:

    # /sbin/sysctl -a <Enter>

    Example

    # /sbin/sysctl -a <Enter>
    ... omitted ...
    kernel.sem = 250        32000   32      128
    kernel.msgmnb = 4194304
    kernel.msgmni = 8192
    kernel.msgmax = 65536
    kernel.shmmni = 4096
    kernel.shmall = 4294967296
    kernel.shmmax = 68719476736
    ... omitted ...
  2. Refer to "3.2.3.4 System Parameters", and compare the current settings. Calculate an appropriate value for each parameter, taking into account the parameter type ("Maximum" or "Addition").

    Point

    Set values as shown below in accordance with the parameter "Type".

    • If the type is "Maximum":

      If the value already set (initial value or previous value) is greater than "Value to set (tuning value)", it need not be changed. If it is smaller than the tuning value, change it to the tuning value.

    • If the type is "Additional":

      Add the "Value to set (tuning value)" to the value already set (initial value or previous value). Check the system maximum values before adding this value and, if adding that value would exceed the system maximum value, set the system maximum value.

      Refer to a Linux manual or similar for details.

  3. Edit /etc/sysctl.conf as shown in the following example.

    Example

    kernel.sem = 250 32002 32 130
    kernel.shmmni = 4096
    kernel.msgmnb = 4194304
    kernel.msgmni = 8192
  4. Use the following command to check whether the changes have been applied to the /etc/sysctl.conf file:

    # /bin/cat /etc/sysctl.conf <Enter>
  5. Use one of the following methods to enable the settings made in Step 3.

    • Restart the system to apply the settings

      # /sbin/shutdown -r now <Enter>
    • Apply the settings

      # /sbin/sysctl -p /etc/sysctl.conf <Enter> (*1)

      *1: You do not need to restart the system if you use this command.

  6. Use the following command to check whether the specified system parameters have been updated:

    # /sbin/sysctl -a <Enter>

    Example

    # /sbin/sysctl -a <Enter>
    ... omitted ...
    kernel.sem = 250        32002   32      130
    kernel.msgmnb = 4194304
    kernel.msgmni = 8192
    kernel.msgmax = 65536
    kernel.shmmni = 4096
    kernel.shmall = 4294967296
    kernel.shmmax = 68719476736
    ... omitted ...