|
Increase MaxUserPorts and TcpWindowSize in TCP/IP
|
bet | 60/61 | Sana | 21.03.2017 | Hajmi | 430.5 Kb. | | #1046 |
Increase MaxUserPorts and TcpWindowSize in TCP/IP
Heavy use of LDAP Binds requires extensive use of dynamic ports. TCP is required on server and client computers to hold these ports open for a few minutes, thus requiring more MaxUserPorts available than are actually used.
You can adjust the following registry parameters:
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort = REG_DWORD 0xfffe
HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpWindowSize = REG_DWORD 0xffff
Benchmarking Networking Workloads (Ttcp, Chariot) Tuning for NTttcp
NTttcp is a Winsock–based port of ttcp to Windows. It helps measure network driver performance and throughput on different network topologies and hardware setups. It provides the customer with a multithreaded, asynchronous performance benchmark for measuring achievable data transfer rate on an existing network setup.
Options:
-
A single thread should suffice for optimal throughput.
-
Multiple threads are needed only in the case of single to many clients.
-
Posting enough user receive buffers (using the “-a” option) alleviates TCP copying.
-
You should not excessively post user receive buffers, because the first ones posted would return before you have the need to use other buffers.
-
It’s best to bind each set of threads to a processor (second delimited parameter in “-m” option).
-
Each thread creates a socket that connects (listens) on a different port.
|
| |