Sebastiano Pomata wrote:
Il 06/02/10 03:55, Stuart Henderson ha scritto:
I really can understand this, for the sake of system portability and so
on. Anyway, I really hardly understand why, without touching any of the
default settings, download rate from every server would never overcome
the value of 400 kB/s. Is it all due to the tcp windows size?
Yes.


Thank you for the clear answer. Anyway, trying to act on tcp.sendspace
isn't affecting the upload capabilities of my OpenBSD server.
I tried downloading a file through httpd, via ftp but results are
still disappointing: 60-70 kbps between two boxes on the same switch.

The box is going to become a webserver, could you please give me more
hints about tuning network performance?

Thanks


I am surprised to hear that you get just 60-70 kbps between two boxes on the same switch. I don't have any tuning tips and in any case you have received great advice from some very knowledgeable folks. But my simple test seems to indicate that the problem has nothing to do with OpenBSD.

From an i386 OpenBSD 4.7 -current http server (default httpd.conf) I get the following. test.dat is just a file created with if=/dev/arandom. As you can see OpenBSD's httpd is serving at 39.1 megabytes/second in this situation. The two systems are not even connected to the same switch in this case.

server11$ wget -c http://i386.sankars.local/test.dat
--2010-02-06 07:29:10--  http://i386.sankars.local/test.dat
Resolving i386.sankars.local... 10.0.0.22
Connecting to i386.sankars.local|10.0.0.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 409600000 (391M) [text/plain]
Saving to: `test.dat'

100%[=============================================================>] 409,600,000 39.1M/s in 10s

2010-02-06 07:29:20 (38.9 MB/s) - `test.dat' saved [409600000/409600000]

You may want to test using OpenBSD servers that have default settings and are not "tuned".


--
Vijay Sankar, M.Eng., P.Eng.
ForeTell Technologies Limited
59 Flamingo Avenue, Winnipeg, MB, Canada R3J 0X6
Phone: (204) 885-9535, E-Mail: vsan...@foretell.ca

Reply via email to