Top
Cloud Infrastructure Management SoftwareV1.2.0 User's Guide

E.2 Tuning Procedure

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

    /sbin/sysctl -a

    Example

    # /sbin/sysctl -a
    …
      (omitted)
    …
    kernel.sem = 256 32000 32 128
    kernel.shmmax = 68719476736
    kernel.shmall = 4294967296
    kernel.shmmni = 4096
    …
    kernel.msgmax = 65536
    kernel.msgmnb = 65536
    kernel.msgmni = 16
    …
      (omitted)
    …
  2. Refer to "E.1 Tuning Values for System Parameters" above, and compare the current settings to the values above. Calculate an appropriate value for each parameter, taking into account the parameter type ("Maximum" or "Addition").

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

    Example

    kernel.sem = 512 55481 50 2891
    kernel.shmmni = 4252
    kernel.msgmnb = 114432
    kernel.msgmni = 1582
  4. Use the following command to check that the changes have been applied to the /etc/sysctl.conf file.

    # /bin/cat /etc/sysctl.conf
  5. To enable the settings entered in Step 3, perform either of the following methods.

    • Apply the settings by rebooting the system.

      # /sbin/shutdown -r now
    • Apply the settings by executing the "/sbin/sysctl -p" command.

      # /sbin/sysctl -p /etc/sysctl.conf (*)

      *: There is no need to reboot the system if this command is used.

  6. The output of the following command can be used to check whether the specified system parameters have been updated.

    # /sbin/sysctl -a

    Example

    # /sbin/sysctl -a
    …
      (omitted)
    …
    kernel.sem = 512 55481 50 2891
    kernel.shmmax = 68719476736
    kernel.shmall = 4294967296
    kernel.shmmni = 4252
    …
    kernel.msgmax = 65536
    kernel.msgmnb = 114432
    kernel.msgmni = 1582
    …
      (omitted)
    …