/proc/sys/net/ipv4/tcp_window_scaling Activate window scaling accordi..."/> /proc/sys/net/ipv4/tcp_window_scaling Activate window scaling accordi..."/>
網路城邦
上一篇 回創作列表 下一篇   字體:
沒招了!改TCP吧!
2010/09/01 02:08:27瀏覽283|回應0|推薦0
Command
Description
echo "1" > /proc/sys/net/ipv4/tcp_window_scaling Activate window scaling according to RFC 1323
echo "1" > /proc/sys/net/ipv4/tcp_timestamps Activate timestamps according to RFC 1323
echo [wmax] > /proc/sys/net/core/rmem_max Set maximum size of TCP receive window.
echo [wmax] > /proc/sys/net/core/wmem_max Set maximum size of TCP transmit window.
echo [wmax] > /proc/sys/net/core/rmem_default Set default size of TCP receive window.
echo [wmax] > /proc/sys/net/core/wmem_default Set default size of TCP transmit window.
echo "[wmin] [wstd] [wmax]" > /proc/sys/net/ipv4/tcp_rmem Set min, default, max receive window. Used by the autotuning function.
echo "[wmin] [wstd] [wmax]" > /proc/sys/net/ipv4/tcp_wmem Set min, default, max transmit window. Used by the autotuning function.
echo "bmin bdef bmax" > /proc/sys/net/ipv4/tcp_mem Set maximum total TCP buffer-space allocatable. Used by the autotuning function.
ifconfig eth? txqueuelen 1000 Define length of transmit queue. Replace "?" with actual interface number.
( 休閒生活生活情報 )
回應 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=92girls&aid=4371697