<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://sufan.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://sufan.maytide.net/read.php/373.htm</link>
<title><![CDATA[FreeBSD-网络优化]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[开源系统]]></category>
<pubDate>Tue, 15 Aug 2006 04:52:03 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/373.htm</guid> 
<description>
<![CDATA[ 
	<p>在网上找到一篇关于FreeBSD网络优化的文章，特转记于此：</p><p><div class="code"># ee /etc/sysctl.conf<br />net.inet.ip.check_interface=1<br />net.inet.tcp.blackhole=2<br />net.inet.udp.blackhole=1<br />net.inet.tcp.recvspace=65535<br />net.inet.tcp.sendspace=65535<br />kern.ipc.somaxconn=32768<br />kern.ipc.maxsockbuf=2097152<br />net.inet.ip.redirect=0<br />net.inet.icmp.icmplim=100<br />net.inet.tcp.always_keepalive=1<br />net.inet.tcp.delayed_ack=1<br />net.inet.udp.maxdgram=65535<br />net.local.stream.sendspace=65535<br />net.local.stream.recvspace=65535<br />kern.maxfiles=65536<br />kern.maxfilesperproc=65536<br />net.inet.udp.checksum=1<br />net.inet.tcp.msl=7500<br />net.inet.tcp.syncookies=1<br />net.inet.icmp.bmcastecho=0<br />net.inet.icmp.maskrepl=0<br />kern.securelevel=0</div></p><p><div class="code"># ee /boot/loader.conf<br />kern.maxdsiz=&quot;536870912&quot;<br />kern.ipc.maxsockets=&quot;4008&quot;<br />kern.ipc.nmbclusters=&quot;32768&quot;<br />kern.ipc.nmbufs=&quot;65535&quot;<br />kern.ipc.nsfbufs=&quot;2496&quot;<br />net.inet.tcp.tcbhashsize=&quot;2048&quot;</p><p># shutdown -r now</div></p>
]]>
</description>
</item>
</channel>
</rss>