HSN Deployment Guide
-
Upload
lucas-anghinoni -
Category
Documents
-
view
227 -
download
0
Transcript of HSN Deployment Guide
-
8/9/2019 HSN Deployment Guide
1/22
Networking Deployment Guide: Deploying
High-Speed Networking Features
Microsoft Corporation
Published: September 2009
Abstract
This guide provides a conceptual overview, deploment instructions, and monitoring information
for high!speed networ"ing features available in #indows Server$ 200% and #indows
Server$ 200% &2 that ma improve networ" and operating sstem performance' These features
include TCP Chimne (ffload, receive!side scaling, and )et*M+, available in both #indowsServer 200% and #indows Server 200% &2 and -irtual Machine .ueue /-M., available in
#indows Server 200% &2'
-
8/9/2019 HSN Deployment Guide
2/22
Copyright inormation
1nformation in this document, including &3 and other 1nternet #eb site references, is sub4ect to
change without notice' nless otherwise noted, the companies, organi5ations, products, domain
names, e!mail addresses, logos, people, places, and events depicted in e6amples herein are
fictitious' )o association with an real compan, organi5ation, product, domain name, e!mail
address, logo, person, place, or event is intended or should be inferred' Compling with all
applicable copright laws is the responsibilit of the user' #ithout limiting the rights under
copright, no part of this document ma be reproduced, stored in or introduced into a retrieval
sstem, or transmitted in an form or b an means /electronic, mechanical, photocoping,
recording, or otherwise, or for an purpose, without the e6press written permission of Microsoft
Corporation'
Microsoft ma have patents, patent applications, trademar"s, coprights, or other intellectual
propert rights covering sub4ect matter in this document' 76cept as e6pressl provided in an
written license agreement from Microsoft, the furnishing of this document does not give ou an
license to these patents, trademar"s, coprights, or other intellectual propert'
8 2009 Microsoft Corporation' +ll rights reserved'
Microsoft, #indows, #indows Server, #indows -ista, and per!- are trademar"s of the
Microsoft group of companies'
+ll other trademar"s are propert of their respective owners'
-
8/9/2019 HSN Deployment Guide
3/22
Contents
)etwor"ing *eploment uide: *eploing igh!speed )etwor"ing ;eatures''''''''''''''''''''''''''''''''s automatic mode of operation
)ew Performance Monitor counters
+hen to use #C$ Chimney !load
Eecause of the overhead associated with moving TCPD1P processing to the networ" adapter, TCP
Chimne (ffload offers the most benefit to applications that have long!lived connections and
transfer a lot of data' Servers that perform database replication, function as file servers, orperform bac"up functions are e6amples of computers that ma benefit from having TCP Chimne
(ffload enabled'
To determine if TCP Chimne (ffload will benefit an application, run the application with TCP
Chimne (ffload disabled to establish a performance baseline' #hile the application runs,
capture CP utili5ation for each CP and the networ" throughput' +fter ou establish the
baseline, set the operating sstem mode of TCP Chimne (ffload to either automatic or enabled,
as appropriate, and then compare the CP utili5ations and networ" throughput'
!perating system modes or #C$ Chimney !load
Fou can set TCP Chimne (ffload in the operating sstem to function in automatic or enabled
mode'
Automatic' 1n automatic mode, TCP Chimne (ffload considers offloading the processing for
a connection onl if the following criteria are met: the connection is established through a @0
bps 7thernet adapter, the mean round trip lin" latenc is less than 20 milliseconds, and at
least @A0 GE of data has been e6changed over the connection' 1n automatic mode, the TCP
receive window is set to @= ME' Eecause the #indows stac" has performance optimi5ations
1mportant
=
-
8/9/2019 HSN Deployment Guide
7/22
not found in Chimne!capable networ" adapters, automatic mode restricts offloads onl to
those connections that might receive the most benefit from it'
2nabled' 1n enabled mode, TCP Chimne (ffload offloads the processing for connections on
a first!come, first!served basis'
;or computers running #indows Server 200% &2, TCP Chimne (ffload is set to
automatic mode b default' ;or computers running #indows Server 200%, TCP Chimne
(ffload is disabled b default' TCP Chimne (ffload settings, nomenclature, and defaults
var for each networ" adapter chec" our adapter>s documentation for TCP (ffload
capabilities and settings'
1n both automatic and enabled modes, if the networ" adapter reaches its offload capacit, and
another connection can ma"e better use of networ" adapter processing, the operating sstem
ma upload the processing for an offloaded connection and then offload the processing for
another connection'
1n addition to setting the operating sstem mode, ou can enable TCP Chimne (ffload for all
connections on a networ" adapter or fine!tune settings to enable TCP Chimne (ffload onl for
designated ports and applications'
Checklist: Deploying #C$ Chimney !load
To deplo TCP Chimne (ffload, perform the tas"s in this chec"list in the order listed'
Some applications and features ma have limited interoperabilit with TCP Chimne
(ffload' See TCP Chimne (ffload Compatibilit with (ther +pplications and ;eaturesformore information'
#ask )eerence
7nsure that the phsical
networ" adapter supports TCP
Chimne (ffload and then
enable TCP Chimne (ffload
for the adapter'
7nabling TCP Chimne (ffload
for a Phsical )etwor" +dapter
se )etsh commands to set theoperating sstem mode of TCP
Chimne (ffload to automatic
/Server 200% &2 onl or
enabled'
sing )etsh Commands to7nable or *isable TCP Chimne
(ffload
1mportant Note
?
-
8/9/2019 HSN Deployment Guide
8/22
#C$ Chimney !load Compatibility with!ther Applications and Features
#hen TCP Chimne (ffload offloads processing for a connection, other features or applicationsthat depend on having direct access to the connection data ma not wor"' ;or instance, )etmon
will not capture offloaded traffic' (ther features, when enabled, ma ma"e particular connections
ineligible for offload for e6ample, because 1Psec ma need to inspect all pac"ets to enforce a
particular encrption algorithm, connections covered b an 1Psec polic will not be offloaded' The
table below shows how TCP Chimne (ffload coe6ists with other common programs and
services'
Application or eature Compatible3 Details
#indows ;irewall Fes 1f #indows ;irewall is
configured to allow a given
TCP connection, connection
processing will be offloaded
however, there is a "nown
issue in #indows
Server 200% &2 with certain
firewall rules where offloaded
connections are uploaded and
will not be offloaded again'
(ther ;irewalls 1mplementation specific Some firewalls are compatible'
See our firewall vendor>s
documentation for details'
1Psec polic Partial Processing for TCP
connections that are part of
1Psec polic will not be
offloaded so that 1Psec can
inspect pac"ets to provide the
desired securit'
)etwor" adapter teaming, also
"nown as load balance and
failover
1mplementation specif ic Some manufacturers> networ"
adapter teaming solutions are
compatible' See our
manufacturer>s documentation
for details'
per!- Fes
)etwor" monitoring tools 1mplementation specific Some networ" monitoring tools
will wor" alongside TCP
Chimne (ffload, but will not
%
-
8/9/2019 HSN Deployment Guide
9/22
Application or eature Compatible3 Details
monitor connections whoseprocessing has been offloaded'
)etwor" load balancing )o
Cluster service Partial Processing for TCP
connections that use the
networ" fault tolerant driver
/netft'ss are not offloaded'
)etwor" address
translation/)+T and 1nternet
Connection Sharing /1CS
)o 1f either of these features is
enabled, processing for
connections is not offloaded'
2nabling #C$ Chimney !load or a $hysicalNetwork Adapter
)etwor" adapters that support TCP Chimne (ffload must have the feature enabled on the
Ad"ancedtab of the networ" adapter>s properties in De"ice 'anager' Most networ" adapters
have TCP Chimne (ffload enabled b default however, some manufacturers ma have it
disabled b default' 1n addition, some manufacturers ma use different terminolog to refer to the
TCP Chimne (ffload feature' Chec" our networ" adapter>s documentation or consult themanufacturer for details about TCP Chimne (ffload capabilities and what settings correspond to
this capabilit'
#C$ Checksum !load, which is available on man networ" adapters, is not the same
as TCP Chimne (ffload'
@' (pen *evice Manager /clic" Start, point to Control $anel, and then clic" De"ice
'anager'
2' 76pand Network adapters, right!clic" the networ" adapter ou want to wor" with, and
then clic" $roperties'
A' (n the Ad"ancedtab in the networ" adapter properties, locate the setting for TCP
Chimne (ffload or TCP Connection (ffload and ma"e sure it is enabled' Fou ma need
to do this for both 1PvB and 1Pv='
1mportant#o enable #C$ Chimney !load on a physical network adapter
@'
9
-
8/9/2019 HSN Deployment Guide
10/22
*sing Netsh Commands to 2nable or Disable
#C$ Chimney !loadFou use the interace #C$conte6t of the netshcommand!line tool to set the operating sstem
mode for TCP Chimne (ffload or to enable specific applications and ports for TCP Chimne
(ffload' The operating mode is global that is, it applies to all networ" adapters connected to the
operating sstem'
;or more information about the commands listed in this section, see the )etsh commands for
interface transmission control protocolon Microsoft Tech)et'
Setting the operating system mode o #C$
Chimney !loadThe operating sstem mode for TCP Chimne (ffload is set to automaticb default in #indows
Server 200% &2 and to disabledb default in #indows Server 200%' See sing TCP Chimne
(ffloadfor information about the differences between automatic and enabled modes'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' +t the command prompt, tpe one of the following commands and then press 7)T7&:
netsh int tcp set global chimney4automaticto set automatic mode /available onl in
#indows Server 200% &2 and #indows ?netsh int tcp set global chimney4enabledto set enabled mode
netsh int tcp set global chimney4deaultto set the mode to the operating sstem
default
netsh int tcp set global chimney4disabledto disable TCP Chimne (ffload
2nabling and disabling #C$ Chimney !load orspeciic applications and ports
Fou can control what applications and ports TCP Chimne (ffload will consider for offloading
using the netsh tcp interace addand netsh tcp interace deletecommands'
The commands to enable and disable TCP Chimne (ffload for specific applications and
ports reuire that the #indows ;irewall service and Ease ;iltering 7ngine /E;7 services
are running' Eefore using these commands, ensure that the #indows ;irewall service
and E;7 service are running' To start the E;7 service, open an elevated command
prompt, tpe net start beand then press 7)T7&' To start the #indows ;irewall service,
#o set the operating system mode o #C$ Chimney !load
2'
1mportant
@0
http://go.microsoft.com/fwlink/?LinkId=165952http://go.microsoft.com/fwlink/?LinkId=165952http://go.microsoft.com/fwlink/?LinkId=165952http://go.microsoft.com/fwlink/?LinkId=165952http://go.microsoft.com/fwlink/?LinkId=165952 -
8/9/2019 HSN Deployment Guide
11/22
open an elevated command prompt, tpe netsh irewall set opmode enable, and then
press 7)T7&'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' Tpenetsh interace tcp add chimneyapplication enabledPathName, where
PathNameis the path to the application that ou want to enable for offloading, for
e6ample c:5myapplication%e6e '
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' Tpenetsh interace tcp delete chimneyapplicationPathName, where PathNameis
the path to the application that ou want to ma"e ineligible for offloading, for e6ample
c:5myapplication%e6e '
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' Tpenetsh interace tcp add chimneyport enabled localport4PortNumremoteport47,
where PortNumis the number of the port that ou want to enable for offloading, for
e6ample 8'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' Tpenetsh interace tcp delete chimneyport localport4PortNumremoteport47,
where PortNumis the number of the port that ou want to ma"e ineligible for offloading,
for e6ample 8'
'onitoring #C$ Chimney
This topic provides a reference of commands and tools ou can use to chec" the operational
status of TCP Chimne (ffload'
#o set all o an application,s ports eligible or oload
A'
#o set all o an application,s ports ineligible or oload
B'
#o set all connections on a speciic port eligible or oload
-
8/9/2019 HSN Deployment Guide
12/22
Checking the operating system mode o #C$
Chimney !loadFou can use the netsh interace tcp show globalcommand to chec" whether the operating
sstem has TCP Chimne (ffload enabled, disabled, or in default mode' See sing TCP
Chimne (ffloadfor information about operating sstem modes for TCP Chimne (ffload and
sing )etsh Commands to 7nable or *isable TCP Chimne (ffloadfor information on changing
the operating sstem mode'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' +t the Command Prompt, tpe netsh interace tcp show global, and then press
7)T7&'The command returns a table of TCP lobal Parameters'
A' )ote the value of the Chimney !load State/automatic, enabled, or disabled'
Checking #C$ Chimney !load statistics#hen the operating sstem status of TCP Chimne (ffload is enabled or automatic, ou can use
the netsh interace tcp show chimneystatscommand to view the status of TCP Chimne
(ffload for each of the adapters connected to the operating sstem' This provides a HsnapshotI of
TCP Chimne (ffload operation' #hen ou use the command without specifing a networ"
identifier /1d6, this command can be useful for identifing networ" adapters that are not correctl
enabled for TCP Chimne (ffload and for viewing general information about offload effectiveness'
#hen ou use the command with a networ" identifier, it provides more detail about TCP Chimne
(ffload operation for that particular networ" connection'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' +t the command prompt, tpe netsh interace tcp show chimneystatsand then press
7)T7&'
A' The command returns information for each networ" adapter recogni5ed b the operating
sstem' 7valuate the results using the guidance in the command output'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' +t the command prompt, tpe netsh interace tcp show chimneystats Idx, where Idxis
the networ" identifier of the networ" whose statistics ou want to chec", and then press
7)T7&'
#o check the operating system mode o #C$ Chimney !load
?'
#o check #C$ Chimney !load statistics or all network connections
%'
#o check #C$ Chimney !load statistics or a speciic network connection
9'
@2
-
8/9/2019 HSN Deployment Guide
13/22
1dentiying #C$ connections being oloadedse the netstat -tcommand to f ind out which of the currentl established TCP connections on
the sstem are being offloaded'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' +t the command prompt, tpe netstat 9t, and then press 7)T7&'
*sing perormance counters or #C$ Chimney!load
Fou can use #indows Performance Monitor to e6amine how TCP Chimne (ffload is performing,both in real time and b collecting log data for later analsis' ;or more information about using
Performance Monitor and performance counters, see sing Performance Monitoron Microsoft
Tech)et'
;our performance monitor counters were added in #indows Server 200% &2'
Performance counters for TCP Chimne (ffload are available in the $er $rocessor
Network 1nterace Card Acti"itygroup under A"ailable counterswhen ou create a
new data collector' + counter is available per networ" adapter and per processor' se the
1nstances o selected obectselection under A"ailable countersto choose a different
adapter to monitor'
#C$ Chimney !load perormance counters
$erormance counter Description
#C$ !load )ecei"e 1ndications;sec The average rate in incidents per second at
which the #indows )etwor" *river 1nterface
received a TCP offload receive indication call
from a networ" interface'
#C$ !load Send )e
-
8/9/2019 HSN Deployment Guide
14/22
*sing &irtual 'achine (ueue-irtual machine ueue /-M. is a feature available to #indows Server 200% &2 computers
running the per!- server role' -M. uses hardware pac"et filtering to deliver pac"et data from
an e6ternal virtual networ" directl to virtual machines, which reduces the overhead of routing
pac"ets and coping them from the management operating sstem to the virtual machine'
#hen -M. is enabled, a dedicated ueue is established on the phsical networ" adapter for
each virtual networ" adapter that has reuested a ueue' +s pac"ets arrive for a virtual networ"
adapter, the phsical networ" adapter places them in that networ" adapter>s ueue' #hen
pac"ets are indicated up, all the pac"et data in the ueue is delivered directl to the virtual
networ" adapter' Pac"ets arriving for virtual networ" adapters that don>t have a dedicated ueue,
as well as all multicast and broadcast pac"ets, are delivered to the virtual networ" in the default
ueue' The virtual networ" handles routing of these pac"ets to the appropriate virtual networ"
adapters as it normall would'
)e
-
8/9/2019 HSN Deployment Guide
15/22
Checklist: Deploying &irtual 'achine (ueue
#ask )eerence
7nsure that the management
operating sstem>s phsical
networ" adapter supports -M.
and then enable virtual machine
ueues for the adapter'
Caution
;or 1ntel networ" adapter
drivers available as of this
publication, this step must
be performed onl after the
registr "e settings to
enable virtual machine
ueues are set' See
7nabling -irtual Machine
.ueue on the
Management (perating
Sstemfor more
information'
1mportant
-irtual Machine Chimneand -M. are not
supported simultaneousl'
1f the networ" adapter also
supports -irtual Machine
Chimne, and both
features are enabled, onl
-M. is used'
7nabling -irtual Machine .ueue
for a Phsical )etwor" +dapter
Modif registr settings on the
management operating sstem to
enable -M.'
7nabling -irtual Machine .ueue
on the Management (perating
Sstem
@
-
8/9/2019 HSN Deployment Guide
16/22
#ask )eerence
Configure the virtual machine>s
virtual networ" adapter to use the
phsical networ" adapter that has
-M. enabled' That is, in per!-
&irtual Network 'anager, set up
a networ" with Connection #ype
of 26ternaland select the
appropriate phsical networ"
adapter' Then, in the settings for
the virtual machine>s networ"
adapter, select this as the
Network'
See Configuring -irtual
)etwor"son Tech)et'
1f ou are using Sstem Center
-irtual Machine Manager /-MM
200% or 200% &2, ensure that the
2nable &irtual Network
!ptimi>ationschec" bo6 is
selected on the Hardware
Conigurationtab of the &irtual
'achine $roperties' 1f ou are not
using -MM, and ou use the
#indows Management 1nterface
/#M1, ensure that the-M.(ffload#eight is left at its
default value or configured to a
non!5ero value'
See Configuring -irtual )etwor"s
in -MMon Microsoft Tech)et
and the entr for
-M.(ffload#eight in the
MsvmJSwitchPort Class
referenceon MS*)'
2nabling &irtual 'achine (ueue or a$hysical Network Adapter
)etwor" adapters that support -M. must have the feature enabled on the Ad"ancedtab of thenetwor" adapter>s properties in De"ice 'anager' Most networ" adapters have -M. enabled b
default' Some manufacturers ma use different terminolog to refer to the -M. feature' Chec"
our networ" adapter>s documentation or consult the manufacturer for details about virtual
machine ueue capabilities and what settings correspond to this capabilit'
;or 1ntel networ" adapter drivers available as of this publication, this step must be
performed onl after the registr "e settings to enable virtual machine ueues are set'
Caution
@=
http://technet.microsoft.com/en-us/library/cc816585(WS.10).aspxhttp://technet.microsoft.com/en-us/library/cc816585(WS.10).aspxhttp://go.microsoft.com/fwlink/?LinkId=165953http://go.microsoft.com/fwlink/?LinkId=165953http://go.microsoft.com/fwlink/?LinkId=165953http://go.microsoft.com/fwlink/?LinkId=165950http://go.microsoft.com/fwlink/?LinkId=165950http://technet.microsoft.com/en-us/library/cc816585(WS.10).aspxhttp://technet.microsoft.com/en-us/library/cc816585(WS.10).aspxhttp://go.microsoft.com/fwlink/?LinkId=165953http://go.microsoft.com/fwlink/?LinkId=165953http://go.microsoft.com/fwlink/?LinkId=165950http://go.microsoft.com/fwlink/?LinkId=165950 -
8/9/2019 HSN Deployment Guide
17/22
See7nabling -irtual Machine .ueue on the Management (perating Sstemfor more
information'
@' (pen *evice Manager /clic" Start, point to Control $anel, and then clic" De"ice
'anager'
2' 76pand Network adapters, right!clic" the networ" adapter ou want to wor" with, and
then clic" $roperties'
A' (n the Ad"ancedtab in the networ" adapter properties, locate the setting for virtual
machine ueues and ma"e sure it is enabled'
2nabling &irtual 'achine (ueue on the'anagement !perating System
sing -M. reuires the presence of registr sub!"es and values on the management operating
sstem' The registr sub!"es enable -M. on the virtual networ"' + different registr sub!"e is
reuired for @0 bps phsical networ" adapters and for phsical networ" adapters less than @0
bps /tpicall @ bps' The networ" adapters must support -M.' 1f the management operating
sstem computer has a mi6 of networ" adaptersKfor e6ample, both a @ bps networ" adapter
and a @0 bps networ" adapterKand both are capable of -M., ou can add both sub!"es and
values'
1ncorrectl editing the registr might severel damage our sstem' Eefore ma"ing
changes to the registr, ou should bac" up an valued data on the computer'
)egistry sub-keys or &'(
)egistry subkey $urpose #ype &alues
G7FJ3(C+3JM+C1)7LSFST7MLCurrentControl
SetL
servicesL-MSMPLParametersL
Tenig-m7nabled
7nable
or
disable
-M. on
all @0bps
phsical
networ"
adapter
s
&7J*#(&
*
0Sstem
default
/disabled for
#indows
Server 200% &2
@7nabled
276plicitl
disabled
#o enable "irtual machine
-
8/9/2019 HSN Deployment Guide
18/22
)egistry subkey $urpose #ype &alues
G7FJ3(C+3JM+C1)7LSFST7MLCurrentControl
SetL
servicesL-MSMPLParametersL
EelowTenig-m7nabled
7nable
or
disable
-M. on
all
phsical
networ"
adapter
s less
than @0
bps
&7J*#(&
*
0Sstem
default
/disabled for
#indows
Server 200% &2
@7nabled
276plicitl
disabled
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' Tpe reg add
H?2@B!CAB'ACH1N25S@S#2'5CurrentControlSet5ser"ices5&'S'$5$arameters
5=elow#enGig&m
-
8/9/2019 HSN Deployment Guide
19/22
single interrupt to be used to unload multiple ueues' +t the time of this publication, all networ"
adapters that support -M. support interrupt coalescing'To ta"e advantage of interrupt coalescing, it is recommended that ou create registr sub!"es
and values according to the instructions in this section'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' Tpe regedit, and then press 7)T7&'
1n the &egistr 7ditor, open the sub!"e
H?2@B!CAB'ACH1N25S@S#2'5CurrentControlSet5Control5Class5DE20-
2E-88C2-=FC8-./..=28.E8/ and locate the sub!"e for the networ" adapter ou
want to wor" with' Sub!"es are four numbers /for e6ample ...Eand ..8.' Ma"e a noteof it' Fou will need it later in this procedure'
A' &eturn to the elevated command prompt window'
B' +t the command prompt, tpe the following commands based on the tpe of networ"
adapter ou are wor"ing with' ;or each command, substitute the sub!"e from earlier in
this procedure for ID'
a' ;or @ bps networ" adapters, tpe reg add
H?2@B!CAB'ACH1N25S@S#2'5CurrentControlSet5Control5Class5
DE20-2E-88C2-=FC8-./..=28.E8/5ID;" 'a6)ss$rocessors ;t
)2GD+!)D ;d 8 ;, press 7)T7&, and then tpe reg add
H?2@B!CAB'ACH1N25S@S#2'5CurrentControlSet5Control5Class5
DE20-2E-88C2-=FC8-./..=28.E8/5ID;" )ss=ase$rocNumber ;t
)2GD+!)D ;d . ;, and then press 7)T7&'
b' ;or @0 bps networ" adapters, tpe reg add
H?2@B!CAB'ACH1N25S@S#2'5CurrentControlSet5Control5Class5
DE20-2E-88C2-=FC8-./..=28.E8/5ID;" 'a6)ss$rocessors ;t
)2GD+!)D ;d E ;, press 7)T7& and then tpe reg add
H?2@B!CAB'ACH1N25S@S#2'5CurrentControlSet5Control5Class5
DE20-2E-88C2-=FC8-./..=28.E8/5ID;" )ss=ase$rocNumber ;t
)2GD+!)D ;d . ;
1f ou are configuring more than one networ" adapter, each adapter should have a
different value assigned to the )ss=ase$rocNumbersub!"e with sufficient difference
so that there are no overlapping &SS processors' ;or e6ample, if )etwor" +dapter + has
a value of 0 assigned to )ss=ase$rocNumberand a value of A assigned to
'a6)ss$rocessors, )etwor" +dapter E should have an )ss=ase$rocNumberof B'
#o enable interrupt coalescing
@B'
1mportant
@9
-
8/9/2019 HSN Deployment Guide
20/22
*sing )ecei"e-side Scaling
&eceive!side networ" processing in multi!core computers is conventionall bottlenec"ed b thefact that a single CP services all the interrupts from a networ" adapter' &eceive!side scaling
solves this problem b enabling a networ" adapter to distribute its networ" processing load
across multiple CPs in multi!core computers' To achieve scalabilit, receive!side scaling must
be enabled in the operating sstem, which has a global impact on all networ" adapters, as well as
for individual networ" adapters through the advanced properties of the networ" adapter'
+hat,s new in recei"e-side scaling or +indowsSer"er ../ )
New per-interace deaults
#indows Server 200% &2 enables ou to achieve ma6imum scalabilit to suit our scenario b
varing the number of processors and the range of processors allotted for each networ" adapter
using registr sub!"e values' The sub!"es and values listed in the table have been added'
(nl change these "ewords if networ" adapter performance is not suitable for our
application'
Sub!"e *escription
G3MLSFST7MLCurrentControlSetLControlLClassLNOOOOO?2!
OOOLQnetwor" adapter numberRLMa6&SSProcessors
'a6imum number o C$*s
allotted' Sets the desiredma6imum number of processors
for each interface' The number
could be different for each
interface' &estart the networ"
adapter when ou change this
registr "e'
G3MLSFST7MLCurrentControlSetLControlLClassLNOOOOO?2!
OOOLQnetwor" adapter numberRL&ssEaseProc)umber
=ase C$* number' Sets the
desired base CP number for
each interface' The number could
be different for each interface'
This allows for partitioning CPs
across networ" adapters' &estart
the networ" adapter when ou
change this registr "e'
G3MLSFST7MLCurrentControlSetLControlLClassLNOOOOO?2!
OOOLQnetwor" adapter numberRL)uma)ode1*
N*'A node ainiti>ation
1mportant
20
-
8/9/2019 HSN Deployment Guide
21/22
New and impro"ed initiali>ation and processor selectionalgorithm
+t boot time, #indows Server 200% &2 considers the bandwidth and media connection state
while allotting CPs' igher bandwidth networ" adapters get more CPs at startup' Multiple
networ" adapters with the same bandwidth receive the same number of receive!side scaling
CPs'
New $erormance 'onitor counters
The following Performance Monitor counters have been added in #indows Server 200% &2 to
trac" receive!side scaling usage' These are available under Per Processor )etwor" 1nterface
Card +ctivit' These counters are available on a per networ" adapter, per processor basis andcan be trac"ed for each networ" adapter'
D$Cs (ueued;sec
1nterrupts;sec
)ecei"e 1ndications;sec
)ecei"ed $ackets;sec
)SS 1ndirection #able Change Calls;sec
Deploying )ecei"e-side Scaling
To enable receive!side scaling, ou need to enable it in the operating sstem and in the networ"
adapter driver properties for each networ" adapter ou want to enable' &eceive!side scaling is
enabled b default in #indows Server 200% and #indows Server 200% &2'
@' To open an elevated Command Prompt window, clic" Start, point to All $rograms, clic"
Accessories, right!clic" Command $rompt, and then clic" )un as administrator'
2' Tpe netsh interace tcp set global rss4enabledand then press 7)T7&'
A' Close the Command Prompt window'
B' (pen *evice Manager /clic" Start, point to Control $anel, and then clic" De"ice
'anager'
-
8/9/2019 HSN Deployment Guide
22/22
Some networ" adapters advertise the number of receive!side scaling ueues
the support on the Ad"ancedtab'
To chec" the status of receive!side scaling, open an elevated command prompt and tpe
netsh interace show global' )ote the value of )ecei"e-Side Scaling State/enabled
or disabled'
*sing NetD'A
)et*M+ is a receive!side technolog that provides operating sstem support for direct memor
access /*M+ engines to perform networ" adapter to application buffer memor copies for
incoming pac"ets' TCPD1P uses )et*M+ to relieve the CP from coping received data into
application buffers, reducing CP load')et*M+ must be enabled in the E1(S before performing this procedure' )et*M+ support
is often labeled 1(+T support' See the computer manufacturer>s documentation for
information about modifing E1(S settings'
1ncorrectl editing the registr might severel damage our sstem' Eefore ma"ing
changes to the registr, ou should bac" up an valued data on the computer'
@' To open &egistr 7ditor, clic" Start, clic" )un, tpe regedit, and then clic" !?'
2' 3ocate the registr sub!"e
H?2@B!CAB'ACH1N25S@S#2'5CurrentControlSet5Ser"ices5#cpip5$arameters
and clic" it'
A' 3ocate the 2nable#C$Aregistr entr' 1f this registr entr does not e6ist, right!clic" the
$arameterssub!"e, point to New, and then clic" D+!)D IE-bitJ &alueJ'
B' &eplace New &alue K8b tping 2nable#C$A, and then press 7)T7&'