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 > Network Performance Monitor (NPM) > Improve Windows Server performance

Improve Windows Server performance

Table of contents
Created by Mariusz Handke, last modified by Mariusz Handke on Dec 11, 2017

Views: 1,159 Votes: 2 Revisions: 9

Overview

Below article describes how to tweak Windows Server to allow busy systems perform much better. The purpose of it is to simply avoid exhaustion of TCP/IP stack by decreasing time required to dispose of "dead" (TIME_WAIT) connection or expanding the range of ephemeral ports.

 

Ref: https://msdn.microsoft.com/en-us/library/aa560610%28v=bts.20%29.aspx

Environment

  • Windows (generic)

Steps

 

Reduce the client TCP/IP socket connection timeout value from the default value of 240 seconds:

  1. Start Windows Registry Editor

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

  3. On the Edit menu, click New, DWORD Value, name TcpTimedWaitDelay, and then add the following value to reduce the length of time that a connection stays in the TIME_WAIT state when the connection is being closed. While a connection is in the TIME_WAIT state, the socket pair cannot be reused. Available value in seconds is 30 (minimum) and 240 (maximum) in decimal or 1e and F0 in hexadecimal

  4. Close Windows Registry Editor and reboot the server

 

Increase the upper range of ephemeral ports that are dynamically allocated to client TCP/IP socket connections:

  1. Start Windows Registry Editor

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

  3. On the Edit menu, click New, DWORD Value, name MaxUserPort, and then add the following value to increase the number of ephemeral ports that can be dynamically allocated to clients. Available value in seconds is 5000 (minimum) and 65534 (maximum) in decimal or 1388 and FFFE in hexadecimal

  4. Close Windows Registry Editor and reboot the server

Last modified

Tags

Classifications

Public