echo 1 > /proc/sys/net/ipv4/tcp_timestampsecho 1 > /proc/sys/net/ipv4/tcp_window_scalingecho 1 > /proc/sys/net/ipv4/tcp_sackecho 8388608 > /proc/sys/net/core/wmem_max echo 8388608 > /proc/sys/net/core/rmem_max echo "4096 87380 4194304" > /proc/sys/net/ipv4/tcp_rmemecho "4096 65536 4194304" > /proc/sys/net/ipv4/tcp_wmem
你可以把这几个命令加在rc.local中。来源文档:http://www.psc.edu/networking/projects/tcptune/ 收到~~~ CL 当中
QUOTE
echo 1 > /proc/sys/net/ipv4/tcp_timestampsecho 1 > /proc/sys/net/ipv4/tcp_window_scalingecho 1 > /proc/sys/net/ipv4/tcp_sack
就不用改了,已经是 enable 状态。/proc/sys/net/core/wmem_max 和 rmem_max : CL 中为32767,都得改tcp_rmem:CL 中为:4096 43689 87378,改。tcp_wmem:CL 中为:4096 16384 65536,改。对光纤用户还不错,似乎对ADSL用户没有什么变化。 奇怪了哦。怎么会是这样子?
QUOTE
!! Check of SYN options!!=======================================================! Variable : Val : Warning (if any)!=======================================================SACKEnabled : 3 :TimestampsEnabled : 0 : WARN - Timestamps option is not enabledCurMSS : 1452 :WinScaleRcvd : 2 :CurRwinRcvd : 0 : WARN - !! End of SYN options!
Timestamps 在CL当中默认就是打开的,怎么检测不对哦?http://syntest.psc.edu:7961/ 楼主搞个详细说明吧。我只在coyote上用了一个,echo 32768 > /proc/sys/net/ipv4/ip_conntrack_max因为改不了tcp生存时间,只有改数量了。改时间似乎要核心支持吧。 QUOTE
Default Receive Window (RWIN) = 17424 RWIN Scaling (RFC1323) = 0 bits Unscaled Receive Window = 17424 RWIN is a multiple of MSSOther values for RWIN that might work well with your current MTU/MSS: 511104 (MSS x 44 * scale factor of 8)255552 (MSS x 44 * scale factor of 4)127776 (MSS x 44 * scale factor of 2) 63888 (MSS x 44)
这是speedguid检测到的,以及建议的可能值。RWIN 是 MSS 的倍数。
页:
[1]