Proper way to calculate Link Throughput

Viewed 13024

I have read some articles online and I got a pretty good idea about the TCP and UDP in general. However, I still have some doubts which I am sure not completely clear to me.

What is the proper way to calculate throughput ?

(Can't we just divide Total number of bytes received by total time taken ?)

What is that key feature in TCP that makes it have much much higher throughput than UDP ?

UPDATE:

I understood that TCP uses windows which is nothing but that much segments can be sent before actually waiting for Acknowledgements. But my doubt is that in UDP segments are continuously sent without even bothering about Acknowledgements. So there is no extra overheads in UDP. Then, why the throughput of TCP is much much higher than that of UDP ?

Lastly,

Is this true ?

TCP throughput = (TCP Window Size / RTT) = BDP / RTT = (Link Speed in Bytes/sec * RTT)/RTT = Link Speed in Bytes/sec

If so then TCP throughput is always equals to the Know Link speed. And since the RTTs cancels out each other, the TCP throughput does not even depends on RTT.

I have seen in some network analysis tools like iperf, passmark performance test etc. that the TCP/UDP Throughput changes with Block size.

How is throughput dependent on Block size ? Is Block size equals TCP window or UDP datagram size ?

2 Answers
Related