Re: Download speed and TCPIP window sizing
- From: Pang <freebsd@xxxxxxx>
- Date: Fri, 01 Jun 2007 02:21:13 +0800
Thanks for reply.
Nicolas Gieczewski wrote:
On Thu, 31 May 2007 22:06:39 +0800, Pang <freebsd@xxxxxxx> wrote:
Recently, I have leased a rack in Asianetcom and some bandwidth.
However, the speed for my curcuit is substantially slower than my
provider's company site.
[...]
*This server is using FreeBSD 6.2 patch 4 with Apache in the port tree.
The kernel is custom built but I haven't made any modification in sysctl
I have asked many techs in Asianetcom and they blamed on TCPIP window
sizing.
I used to have the same problem with my FreeBSD dedicated servers in the U.S. when I was living in South America with a latency of ~200 ms. Given identical hardware and connectivity, I could max out my download speed when downloading from a server running Linux, but would get no more than 100-150 KB/s when downloading from an otherwise identical FreeBSD box.
The solution was to increase the size of the TCP send window on the FreeBSD server to about 128 KB--the default of 32 KB turned out to be way too small.
# sysctl net.inet.tcp.sendspace=131072
After modifying this value, you need to restart any processes (e.g. Apache) that you want to take advantage of the change.
It doesn't work. I am still getting ~10KB/s speed.
Hope it helps.
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
Thanks
Pang
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- References:
- Download speed and TCPIP window sizing
- From: Pang
- Re: Download speed and TCPIP window sizing
- From: Nicolas Gieczewski
- Download speed and TCPIP window sizing
- Prev by Date: Re: driver packet coalesce
- Next by Date: Re: driver packet coalesce
- Previous by thread: Re: Download speed and TCPIP window sizing
- Index(es):
Relevant Pages
- Re: Download speed and TCPIP window sizing
... The kernel is custom built but I haven't made any modification in sysctl ...
I have asked many techs in Asianetcom and they blamed on TCPIP window ... The solution
was to increase the size of the TCP send window on the FreeBSD server to about 128 KB--the default
of 32 KB turned out to be way too small. ... (freebsd-questions) - Re: Download speed and TCPIP window sizing
... I have asked many techs in Asianetcom and they blamed on TCPIP window ... The
solution was to increase the size of the TCP send window on the FreeBSD server to about 128 KB--the
default of 32 KB turned out to be way too small. ... you need to restart any processes (e.g. Apache)
that you want to take advantage of the change. ... (freebsd-net) - Re: Download speed and TCPIP window sizing
... I have asked many techs in Asianetcom and they blamed on TCPIP window ... The
solution was to increase the size of the TCP send window on the FreeBSD server to about 128 KB--the
default of 32 KB turned out to be way too small. ... you need to restart any processes (e.g. Apache)
that you want to take advantage of the change. ... (freebsd-questions) - Re: Linux /proc on FreeBSD
... i am going to port a server that i am currently working on to FreeBSD. ...
I don't have much experience with FreeBSD yet. ... I _don't_ want to use external binaries
like sysctl etc... ... (freebsd-questions) - Re: Linux /proc on FreeBSD
... i am going to port a server that i am currently working on to FreeBSD. ...
I don't have much experience with FreeBSD yet. ... I _don't_ want to use external binaries
like sysctl etc... ... (freebsd-questions)