Performance Tuning Guidelines for Windows Server 2012 April 12, 2013 Abstract




Download 1.5 Mb.
bet33/218
Sana21.03.2017
Hajmi1.5 Mb.
#1065
1   ...   29   30   31   32   33   34   35   36   ...   218

Workload Specific Tuning

Tuning for Low Latency Packet Processing within the operating system


The network adapter has a number of options to optimize operating system-induced latency. This is the elapsed time between the network driver processing an incoming packet and the network driver sending the packet back. This time is usually measured in microseconds. For comparison, the transmission time for packet transmissions over long distances is usually measured in milliseconds (an order of magnitude larger). This tuning will not reduce the time a packet spends in transit.

Some tuning suggestions for microsecond-sensitive networks include:

Set the computer BIOS to High Performance, with C-states disabled. However, note that this is system and BIOS dependent, and some systems will provide higher performance if the operating system controls power management. You can check and adjust your power management settings from Control Panel or by using the powercfg command.

Set the operating system power management profile to High Performance System. Note that this will not work properly if the system BIOS has been set to disable operating system control of power management.

Enable Static Offloads, for example, UDP Checksums, TCP Checksums, and Send Large Offload (LSO)

Enable RSS if the traffic is multi-streamed, such as high-volume multicast receive

Disable the Interrupt Moderation setting for network card drivers that require the lowest possible latency. Remember, this can use more CPU time and it represents a tradeoff.

Handle network adapter interrupts and DPCs on a core processor that shares CPU cache with the core that is being used by the program (user thread) that is handling the packet. CPU affinity tuning can be used to direct a process to certain logical processors in conjunction with RSS configuration to accomplish this. Using the same core for the interrupt, DPC, and user mode thread exhibits worse performance as load increases because the ISR, DPC, and thread contend for the use of the core.




Download 1.5 Mb.
1   ...   29   30   31   32   33   34   35   36   ...   218




Download 1.5 Mb.

Bosh sahifa
Aloqalar

    Bosh sahifa



Performance Tuning Guidelines for Windows Server 2012 April 12, 2013 Abstract

Download 1.5 Mb.