Md at debian.org

tales of a debian maintainer

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...)

About

This is the blog of Marco d'Itri.

S M T W T F S
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

See also:

My blogroll:


W3C HTML 4.01
W3C CSS 2.0     

Powered by Bryar.pm.