On Wed, Nov 07, 2007 at 09:18:21PM +0000, Tony Sarendal wrote: [snip] > What is the tcp windowsize of your machine ? > OpenBSD in default install runs with window size of 16k, which in the > aprox 40ms > RTT seen in the trace about gives a theoretical max of ~400kByte/sec. > > If you increase that to the 64k your linux boxes probably run that > would give ~ 1600kByte/sec.
I used the default window size of 16k, but in the future I'll certainly choose something greater: [EMAIL PROTECTED]:~$ sudo sysctl net.inet.tcp.recvspace=65536 net.inet.tcp.recvspace: 16384 -> 65536 [EMAIL PROTECTED]:~$ sudo sysctl net.inet.tcp.sendspace=65536 net.inet.tcp.sendspace: 16384 -> 65536 [EMAIL PROTECTED]:~$ wget -O /dev/null http://obsd.dk/50MB --22:51:46-- http://obsd.dk/50MB => `/dev/null' Resolving obsd.dk... 87.230.22.203 Connecting to obsd.dk|87.230.22.203|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 52,428,800 (50M) [text/plain] 100%[====================================>] 52,428,800 1.28M/s ETA 00:00 22:52:25 (1.27 MB/s) - `/dev/null' saved [52428800/52428800] [EMAIL PROTECTED]:~$ sudo sysctl net.inet.tcp.recvspace=131072 net.inet.tcp.recvspace: 65536 -> 131072 [EMAIL PROTECTED]:~$ sudo sysctl net.inet.tcp.sendspace=131072 net.inet.tcp.sendspace: 65536 -> 131072 [EMAIL PROTECTED]:~$ wget -O /dev/null http://obsd.dk/50MB --22:52:46-- http://obsd.dk/50MB => `/dev/null' Resolving obsd.dk... 87.230.22.203 Connecting to obsd.dk|87.230.22.203|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 52,428,800 (50M) [text/plain] 100%[====================================>] 52,428,800 1.52M/s ETA 00:00 22:53:19 (1.50 MB/s) - `/dev/null' saved [52428800/52428800] That solved the mystery :-) Thank you very much. Martin