Figure 2 shows the network architecture, which covers many components, interfaces, and protocols. The following sections discuss tuning guidelines for some components of server workloads.
WMS
HTTP.SYS
TCP/IP
DNS
IIS
AFD.SYS
NIC Driver
User-Mode Applications
System Drivers
Protocol Stack
NDIS
Network Interface
UDP/IP
VPN
NDIS
Figure 2. Network Stack Components
The network architecture is layered, and the layers can be broadly divided into the following sections:
The network driver and Network Driver Interface Specification (NDIS).
These are the lowest layers. NDIS exposes interfaces for the driver below it and for the layers above it such as TCP/IP.
The protocol stack.
This 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 transport data interface extension (TDX) or Winsock Kernel (WSK) clients and expose interfaces to user-mode applications. The WSK interface was a new feature for Windows Server 2008 and Windows Vista® and 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.
Tuning for network-intensive workloads can involve each layer. The following sections describe some tuning recommendations.
|