Custom Search

April 14, 2010

OS Tuning parameters


  • Windows Registry Settings
    1. Open REGEDT32 and navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\ AFD\PARAMETERS
    2. Add a new DWORD value to the DefaultSendWindow key and set the value to 65536 (decimal).
    3. Add a new DWORD value to the DefaultReceiveWindow key and set the value to 65536 (decimal).
    4. Within REGEDT32, navigate to the following location: HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\ TCPIP\PARAMETERS
    5. Add a new DWORD value to the GlobalMaxTcpWindowSize key and set the value to 65536 (decimal).
    6. Add a new DWORD value to the TcpWindowSize key and set the value to 65536 (decimal).
    7. Add a new DWORD value to the Tcp1323Opts key and set the value to 3.
    8. Restart the Windows server.
  • Windows Netbackup Buffer Changes
    • {NB INSTALL PATH}/NetBackup/NET_BUFFER_SZ = 1048576
    • {NB INSTALL PATH}/NetBackup/db/config/SIZE_DATA_BUFFERS = 65536
    • {NB INSTALL PATH}/NetBackup/db/config/SIZE_DATA_BUFFERS_DISK = 262144
    • {NB INSTALL PATH}/NetBackup/db/config/NUMBER_DATA_BUFFERS = 16
    • {NB INSTALL PATH}/NetBackup/db/config/NUMBER_DATA_BUFFERS_DISK = 32
  • Linux Kernel Changes to /etc/sysctl.conf for most DD models
    • net.core.rmem_default = 262144
    • net.core.wmem_default = 262144
    • net.core.rmem_max = 262144
    • net.core.wmem_max = 262144
    • net.ipv4.tcp_rmem = 4096 262144 1048576
    • net.ipv4.tcp_wmem = 4096 262144 1048576
    • vm.lower_zone_protection = 250
    • Run sysctl -p
  • Linux Kernel Changes to /etc/sysctl.conf for DD565, DD580 and DD690 models
    • net.core.rmem_default = 262144
    • net.core.wmem_default = 262144
    • net.core.rmem_max = 2097152
    • net.core.wmem_max = 2097152
    • net.ipv4.tcp_rmem = 8192 524288 2097152
    • net.ipv4.tcp_wmem = 8192 524288 2097152
    • vm.lower_zone_protection = 250
    • Run sysctl -p
  • Solaris Kernel Changes
    • Create a file /etc/rc3.d/S90ddr. Enter the following two lines in the file:
      • ndd -set /dev/tcp tcp_recv_hiwat 131072
      • ndd -set /dev/tcp tcp_xmit_hiwat 131072
    • In the file /etc/system, add the following lines:
      • set nfs:nfs3_max_threads=16
      • set nfs:nfs3_async_clusters=4
      • set nfs:nfs3_nra=16
      • set rpcmod:clnt_max_conns=1
      • set fastscan=131072
      • set handspreadpages=131072
      • set maxpgio=65536
  • Unix Netbackup Buffer Changes
    • echo 1048576 > /usr/openv/netbackup/NET_BUFFER_SZ
    • echo 262144 > /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS
    • echo 262144 > /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS_DISK
    • echo 16 > /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS
    • echo 32 > /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS_DISK

No comments:

Post a Comment