Wednesday, May 22, 2024

Throughput Testing Using nttcp


! sender (server) side - use your IP here

ntttcp -s -m 1,*,10.1.1.8 -l 128K -t 60


! receiver (client) side - use the sender's IP here

ntttcp -r -m 1,*,10.1.1.8 -t 60


Ntttcp does something called pre-posting receives, which is unique to this tool. This reduces application wait time as part of network stack isolation, allowing for quicker than normal application responses to socket messages.

-r is receiver, and -s is sender.

-m is a mapping of values that are: <num threads>, <CPU affinity>, <Target IP>. In this test we use a single thread, no CPU affinity (*), and both -r and -s side uses the target IP address as the final value. 

-t is test time, in seconds.

-l sets the buffer length. You can use K|M|G with ntttcp as shorthand for kilo-, mega-, and giga-bytes.



https://techcommunity.microsoft.com/t5/networking-blog/three-reasons-why-you-should-not-use-iperf3-on-windows/ba-p/4117876

https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-bandwidth-testing?tabs=windows


No comments: