Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2006 19:11:12 +0800
From:      =?gb2312?B?zfXP/rar?= <wangxd@hhu.edu.cn>
To:        "'Andre Oppermann'" <andre@freebsd.org>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Automatic TCP send and receive socket buffer sizing
Message-ID:  <!&!AAAAAAAAAAAYAAAAAAAAAMpcQJtxxClKnJSFO9Cau2vCgAAAEAAAAJNL2ZMeEDBDhXX4HhqVK24BAAAAAA==@hhu.edu.cn>
In-Reply-To: <366093006.18223@hhu.edu.cn>

next in thread | previous in thread | raw e-mail | index | archive | help
My FTP is 202.119.123.7. From 202.119.117/24 to it, there are two =
routers.
traceroute to 202.119.123.7 (202.119.123.7), 64 hops max, 40 byte =
packets
 1  202.119.117.254 (202.119.117.254)  0.794 ms  0.809 ms  0.882 ms
 2  172.17.2.14 (172.17.2.14)  0.963 ms  0.736 ms  0.868 ms
 3  202.119.123.7 (202.119.123.7)  23.467 ms  23.499 ms  23.228 ms

Because the number of anonymous ftp users is unlimited, the FTP is very
busy.=20
FreeBSD# w
 6:59PM  up 16 days,  5:12, 1 user, load averages: 0.84, 0.81, 0.76
USER             TTY      FROM              LOGIN@  IDLE WHAT
root             p0       202.119.117.45    6:54PM     - w

My question is why Debian have used the auto-sizing buffer, but FTP's
sending buffer for it is under FreeBSD and XP. My FreeBSD do not apply =
the
patch, it is 6.0-stable.

Thanks.

Wangxd

-----=D3=CA=BC=FE=D4=AD=BC=FE-----
=B7=A2=BC=FE=C8=CB: Andre Oppermann [mailto:andre@freebsd.org]=20
=B7=A2=CB=CD=CA=B1=BC=E4: 2006=C4=EA12=D4=C214=C8=D5 18:50
=CA=D5=BC=FE=C8=CB: =CD=F5=CF=FE=B6=AB
=B3=AD=CB=CD: freebsd-net@freebsd.org
=D6=F7=CC=E2: Re: Automatic TCP send and receive socket buffer sizing


The log lines prove that the automatic send buffer sizing was
working.  On local high speed networks with very low RTT (<1ms)
the effect is almost not noticeable.  On links with higher
bandwidth and larger RTT (>10ms Internet and Corporate WAN)
there can be a very large difference.  You can perform a test
by transferring the same large file twice, once with auto sizing
enabled and once without.  A good target is the European half
of FTP.FreeBSD.ORG [62.243.72.50] as it has a high bandwidth
connection and the send buffer auto scaling patch installed.

--=20
Andre




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?!&!AAAAAAAAAAAYAAAAAAAAAMpcQJtxxClKnJSFO9Cau2vCgAAAEAAAAJNL2ZMeEDBDhXX4HhqVK24BAAAAAA==>