Network Subsystem Performance Tuning
Updated: August 15, 2012
Applies To: Windows Server 2012
Performance tuning the network subsystem, particularly for network intensive workloads, can involve each layer of the network architecture, which is also called the network stack. These layers are broadly divided into the following sections.
Network interface. This is the lowest layer in the network stack, and contains the network driver that communicates directly with the network adapter.
Network Driver Interface Specification (NDIS). NDIS exposes interfaces for the driver below it and for the layers above it, such as the Protocol Stack.
Protocol Stack. The protocol stack implements protocols such as TCP/IP and UDP/IP. These layers expose the transport layer interface for layers above them.
System Drivers. These are typically clients that use a transport data extension (TDX) or Winsock Kernel (WSK) interface to expose interfaces to user-mode applications. The WSK interface was introduced in Windows Server® 2008 and Windows Vista, and it is exposed by AFD.sys. The interface improves performance by eliminating the switching between user mode and kernel mode.
User-Mode Applications. These are typically Microsoft solutions or custom applications.
The table below provides a vertical illustration of the layers of the network stack, including examples of items that run in each layer.
Network Driver Interface Specification (NDIS)
The following sections of this guide provide performance tuning recommendations for network devices and the network stack.