4.0

Table Of Contents
VMware, Inc. 43
Chapter 2 Installation
3ClickEdit>Newandaddtheregistryentry.
Value Name: MaxUserPort
Value Type: DWORD
Value data: 1024 + <calculated number of ephemeral ports>
Valid Range: 5000-65534 (decimal)
4ExittheRegistryEditor.
5RestarttheWindowsServercomputer.
ActiveDirectorygrouppoliciescanoverrideregistryentries.Whenpossible,usea
grouppolicytosetthenumberofephemeralportsonViewConnectionServer.
Increasing the Size of the TCB Hash Table
Thetransmissioncontrolblock(TCB)holdsinformationaboutTCPconnectionsthatare
madebetweenViewConnectionServerclientsandtheirdesktopsources.Tosupporta
largeViewdesktopdeployment,youcanincreasethesizeoftheTCBhashtable.
TheTCBisamemoryresidentdatastructurethatcontainssocketnumbers,
thelocation
ofincomingandoutgoingdatabuffers,bytesreceivedorunacknowledged,andother
information.Toretrievethisinformationquickly,WindowsServerstoresTCBdata
structuresinahashtable.Bydefault,theoperatingsystemconfiguresthenumberof
hashtablerowsbasedonthenumberofCPUsintheWindows
Servercomputer.
YouusetwodifferentformulastocalculatetheTCBhashtablesizeonViewConnection
Serverinstancesandsecurityservers.
TosupportalargenumberofViewdesktops,youcanoptimizethesizeoftheTCBhash
tableoneachViewConnectionServerinstance.Calculatethesizeinrows.
To calculate the size of the TCB hash table for View Connection Servers
Usethefollowingformula.
number of hash table rows on each View Connection Server instance =
((5 * clients) / servers ) + desktops + 20
Where
clients=projectednumberofconcurrentclientconnections
servers=numberofViewConnectionServerinstancesinreplicatedgroup
desktops=numberofViewdesktopsourcesinyourdeployment
Forexample,youmighthave3,000concurrentclientconnections,threeView
ConnectionServerinstances,and6,000Viewdesktopsources
inyourdeployment.For
eachViewConnectionServerinstance,theresultis11,020,asshowninTable 22.