3.1

Table Of Contents
View Manager Administration Guide
42 VMware, Inc.
Thedefaultmaximumnumberofephemeralportsthatcanbecreatedsimultaneously
onWindowsServeris5000.IfyouplantodeployViewManagerintoanenvironment
wherealargenumber(greaterthan900)ofconcurrentclientconnectionsislikely,
VMwarestronglyrecommendsthatyouincreasethenumberofavailableephemeral
ports.Thenumberisdeterminedbyusingthecalculationprovidedin“Optimization
Calculation”onpage 41.
Forexample,ifyouareplanningalargedeploymentmanagedbyasingleView
ConnectionServerandyouanticipatethatthegreatestnumberofconcurrentclient
connectionsthatwilltakeplaceatanygiventimeis
1500,thenumberofephemeral
portsrequiredis7510.
To increase the maximum number of ephemeral ports on Windows Server
1StarttheWindowsRegistryEditorbyenteringregeditfromacommandprompt.
2 LocatethefollowingsubkeyintheregistryandclickParameters:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters
3OntheEditmenu,clickNew,andaddthefollowingregistryentry:
Value Name: MaxUserPort
Value Type: DWORD
Value data: <calculated number of ephemeral ports>
Valid Range: 5000-65534 (decimal)
4ExitRegistryEditor,andrestartthesystem.
TCB Hash Table
InformationabouteveryTCPconnectionestablishedbetweenViewConnectionServer
clientsandtheirdesktopsisheldinsideamemoryresidentdatastructurecalleda
transmissioncontrolblock (TCB).EachTCBholdsmaterialsuchassocketnumbers,the
locationofincomingandoutgoingdatabuffers,bytesreceivedorunacknowledged,
andsoforth.
Toexpeditetheretrievalofthisinformation,TCBdatastructuresarestoredinahash
tablebyWindowsServer,whichusesthenumberofCPUsonthesystem()astheseed
forthehashtabledefaultsize():
N
OTERegistryentriescanbeoverriddenbyActiveDirectorygrouppolicies.Where
possible,useagrouppolicytosetthemaximumnumberofephemeralportsonView
ConnectionServer.
Θ
Δ
ΔΘ
2
128×=