Submit a ticketCall us

Training Class Getting Started with SolarWinds Backup - February 28

This course offers customers an introduction to SolarWinds Backup, focusing on configuring the backup technology, taking backups, data restoration and data security. It is a great primer and will get you up to speed quickly on SolarWinds Backup.
Register for class.

Home > Success Center > Orion Platform > Tweaking performance of Windows Server

Tweaking performance of Windows Server

Table of contents

Updated September 4th, 2017

Overview

The below article describes how to tweak Windows Server Operating System to help busy systems perform better. The purpose of these changes is to avoid exhaustion of the TCP/IP stack by decreasing the time required to dispose of dead (TIME_WAIT) connection. In most cases, these connections are no longer reusable and a quick turn over makes the system behave much faster.

 

Microsoft Reference

Environment

  • Windows (generic)

Steps

SolarWinds strongly recommends that you back up your registry before making any edits to your system registry. You should only edit the registry if you are experienced and confident in doing so. Using a registry editor incorrectly can cause serious issues with your operating system, which could require you to reinstall your operating system to correct them. SolarWinds cannot guarantee resolutions to any damage resulting from making registry edits.

  1. Start Windows Registry Editor

  2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters

  3. To create the TcpTimedWaitDelay key:
    This key will reduce the length of time that a connection stays in the TIME_WAIT state before the connection is closed. While a connection is in the TIME_WAIT state, the socket pair cannot be reused.

    1. Highlight Parameters

    2. Click the Edit menu > New > DWORD (32-bit) Value

    3. Give it a name of TcpTimedWaitDelay (The capitalization matters)

    4. Right-click the new key > Modify...

    5. Click the decimal radial button

    6. Specify a value between 30 and 240. The lower value, the quicker unused connection will be closed. Many customers have had success with value 120 (decimal)

      Value Name Value Data
      TcpTimedWaitDelay <Enter a value between 30 and 240>

       

  1. To create the MaxUserPort key:
    This key will increase the allowance of TCP Ports which can be allocated on the server.

    1. Highlight Parameters

    2. Click the Edit menu > New > DWORD (32-bit) Value

    3. Give it a name of MaxUserPort (The capitalization matters)

    4. Right-click the new key > Modify...

    5. Click the decimal radial button

    6. Specify a value between 5000 and 65534. The higher value, the wider range of available ports. Many customers have had success with value 65000 (decimal)
       

      Value Name Value Data
      MaxUserPort <Enter a value between 5000 and 65534>

       

  2. Close Windows Registry Editor and reboot the server to apply the changes.

Last modified

Tags

Classifications

Public