Sun, 3 Jun 2007
units(1) and the TCP windows size
How much of a link having a 100 ms latency I can use if I am using a 64 kB TCP window?
md@wonderland:~$ units -v '64kB / 100ms' Mbps 64kB / 100ms = 5.12 Mbps 64kB / 100ms = (1 / 0.1953125) Mbps md@wonderland:~$
How big a window do I need to fill a 100 Mbps link having a 40 ms latency?
md@wonderland:~$ units -v '100Mbps * 40 ms' KiB 100Mbps * 40 ms = 488.28125 KiB 100Mbps * 40 ms = (1 / 0.002048) KiB md@wonderland:~$
(I have just found the months old draft of this post, I wonder if there is something fundamentally wrong in it or I just forgot to send it...)