<?xml version="1.0" encoding="UTF-8" ?><oembed><version>1.0</version><provider_name>Jui-Nan Lin&#039;s Blog</provider_name><provider_url>https://jnlin.org</provider_url><author_name>jnlin</author_name><author_url>https://jnlin.org/author/jnlin/</author_url><title>TCP Send/Receive Buffer Size</title><html>&lt;a href=&quot;http://proj.sunet.se/E2E/freebsd.txt&quot;&gt;http://proj.sunet.se/E2E/freebsd.txt&lt;/a&gt;
&lt;a href=&quot;http://proj.sunet.se/E2E/tcptune.html&quot;&gt;http://proj.sunet.se/E2E/tcptune.html&lt;/a&gt;
&lt;code&gt;
kern.ipc.maxsockbuf=8388608
net.inet.tcp.sendspace=3217968
net.inet.tcp.recvspace=3217968
net.inet.tcp.rfc1323=1
&lt;/code&gt;
&lt;code&gt;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Tcp1323Opts=1  	
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\TcpWindowSize=[wmax] 
&lt;/code&gt;
設好以後, FTP 的 throughput 提高到 50%, 雖不滿意但可以接受啦...
(原本只能跑到 15%, 還會讓機器 hang 住...)
</html><type>rich</type></oembed>