<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>rafan's blog &#187; Performance</title>
	<atom:link href="http://blog.rafan.org/categories/performance/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.rafan.org</link>
	<description>rafan? rafan!</description>
	<lastBuildDate>Mon, 26 Apr 2010 15:19:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-RC3-17376</generator>
		<item>
		<title>FreeBSD 7.0 跟 DragonFlyBSD 1.12</title>
		<link>http://blog.rafan.org/archives/154</link>
		<comments>http://blog.rafan.org/archives/154#comments</comments>
		<pubDate>Mon, 10 Mar 2008 15:13:31 +0000</pubDate>
		<dc:creator>rafan</dc:creator>
				<category><![CDATA[DragonFlyBSD]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[smp]]></category>

		<guid isPermaLink="false">http://blog.rafan.org/?p=154</guid>
		<description><![CDATA[剛看到 kris@ 做的 mysql 跟其他的 subsystem 的比較： http://leaf.dragonflybsd.org/mailarchive/users/2008-03/msg00025.html 不過後面有篇回應說得也很對，就是當初分家是因為不同的路，計畫要改的東西也不是兩三年就可以改完的（不過已經四年多了&#8230;），再說 DragonFlyBSD 似乎人還是沒有很多，重要的東西還是 Matt 一個人在搞。反過來看 FreeBSD 5.x 那一段時間，真是相當的苦命啊&#8230;]]></description>
			<content:encoded><![CDATA[<p>剛看到 kris@ 做的 mysql 跟其他的 subsystem 的比較：</p>
<p><a href="http://leaf.dragonflybsd.org/mailarchive/users/2008-03/msg00025.html">http://leaf.dragonflybsd.org/mailarchive/users/2008-03/msg00025.html</a></p>
<p>不過後面有篇回應說得也很對，就是當初分家是因為不同的路，計畫要改的東西也不是兩三年就可以改完的（不過已經四年多了&#8230;），再說 DragonFlyBSD 似乎人還是沒有很多，重要的東西還是 Matt 一個人在搞。反過來看 FreeBSD 5.x 那一段時間，真是相當的苦命啊&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rafan.org/archives/154/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMPng Project 劃下句點</title>
		<link>http://blog.rafan.org/archives/124</link>
		<comments>http://blog.rafan.org/archives/124#comments</comments>
		<pubDate>Thu, 08 Jun 2006 00:09:10 +0000</pubDate>
		<dc:creator>rafan</dc:creator>
				<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://rafan.infor.org/blog/archives/124</guid>
		<description><![CDATA[剛剛看到 Kris Kennaway 在 SMP mailing 上的 Concluding the SMPng project，算是替 SMPng Project 劃下一個句點（雖然說算是正式的公告，我覺得應該要丟上 announce@ 才對 :p）。 從 2000 開始 5-CURRENT 一直到之前的 5-STABLE，去年的 6-STABLE，以及前陣子的 6.1-RELEASE，走了這麼久，6.x 終於算是可以取代 4.x 的版本了。另外，4.x 只剩下 4.11 還有 Security Officier 的 support，不過這也只到明年初了。5.4 到今年十月底，5.5 還有兩年左右。老實講，6.1 除了我碰到的 VFS 在 NON-MPSAFE 的 fs 上會有 GIANT leaking 以外（已經修好了，過幾天應該就會進 RELENG_6），其他我沒碰到甚麼問題。 Kris Kennaway 在那篇中提到，再來的計畫是用 profiling 工具，去看哪邊是 bottleneck，然後根據不同情況，決定該怎麼最佳化了。重心也不放在把 GIANT [...]]]></description>
			<content:encoded><![CDATA[<p>剛剛看到 Kris Kennaway 在 SMP mailing 上的 <a href="http://lists.freebsd.org/pipermail/freebsd-smp/2006-June/001156.html">Concluding the SMPng project</a>，算是替 <a href="http://www.freebsd.org/smp/">SMPng Project</a> 劃下一個句點（雖然說算是正式的公告，我覺得應該要丟上 announce@ 才對 :p）。</p>
<p>從 2000 開始 5-CURRENT 一直到之前的 5-STABLE，去年的 6-STABLE，以及前陣子的 6.1-RELEASE，走了這麼久，6.x 終於算是可以取代 4.x  的版本了。另外，4.x 只剩下 4.11 還有 Security Officier 的 support，不過這也只到明年初了。5.4 到今年十月底，5.5 還有兩年左右。老實講，6.1 除了我碰到的 VFS 在 NON-MPSAFE 的 fs 上會有 GIANT leaking 以外（已經修好了，過幾天應該就會進 RELENG_6），其他我沒碰到甚麼問題。</p>
<p>Kris Kennaway 在那篇中提到，再來的計畫是用 profiling 工具，去看哪邊是 bottleneck，然後根據不同情況，決定該怎麼最佳化了。重心也不放在把 GIANT 通通幹光光 :p可能會改的名字再繼續下去吧。</p>
<p>如果計畫沒改而且我沒記錯，應該後年就會看到 7-STABLE 跟 7.0 了，不知道到時後會有些甚麼令人期待的功能（6.0 是 mpsafevfs，5.3  開始是 mpsafe{vm,net})。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.rafan.org/archives/124/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD 當 router 的調法</title>
		<link>http://blog.rafan.org/archives/92</link>
		<comments>http://blog.rafan.org/archives/92#comments</comments>
		<pubDate>Mon, 18 Apr 2005 18:14:12 +0000</pubDate>
		<dc:creator>rafan</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://rafan.infor.org/blog/archives/92</guid>
		<description><![CDATA[在 stable mailing 有一篇 &#8220;Tuning for router performance&#8220;，裡面題到了拿 em(4) 還有 5.3 來當 router，有提到一些調法： if_em.h: EM_TIDV, EM_MAX_TXD, EM_MAX_RXD kern.random.sys.harvest.ethernet=0 kern.random.sys.hervest.interrupt=0 net.inet.ip.fastforwarding=1 (netinet/ip_fastfwd.c) net.ipc.nmbcluster 262144 ?! vm.kmem_size 跟 vm.kmem_size_max 把 em(4) 的 interrupt moderation 關掉：http://www.freebsd.org/cgi/query-pr.cgi?pr=74986, http://docs.freebsd.org/cgi/getmsg.cgi?fetch=215083+0+archive/2004/freebsd-current/20041128.freebsd-current, http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1279567+0+archive/2004/freebsd-current/20041121.freebsd-current]]></description>
			<content:encoded><![CDATA[<p>在 stable mailing 有一篇 &#8220;<a href="http://groups-beta.google.com/group/lucky.freebsd.stable/browse_frm/thread/ee8ce74e7dfddedb/3ad2ad6278060334?&#038;rnum=3#3ad2ad6278060334">Tuning for router performance</a>&#8220;，裡面題到了拿 em(4) 還有 5.3 來當 router，有提到一些調法：</p>
<ul>
<li>if_em.h: EM_TIDV, EM_MAX_TXD, EM_MAX_RXD</li>
<li>kern.random.sys.harvest.ethernet=0</li>
<li>kern.random.sys.hervest.interrupt=0</li>
<li>net.inet.ip.fastforwarding=1 (netinet/ip_fastfwd.c)</li>
<li>net.ipc.nmbcluster 262144 ?!</li>
<li>vm.kmem_size 跟 vm.kmem_size_max</li>
<li>把 em(4) 的 interrupt moderation 關掉：<a href="http://www.freebsd.org/cgi/query-pr.cgi?pr=74986">http://www.freebsd.org/cgi/query-pr.cgi?pr=74986</a>, <a href="http://docs.freebsd.org/cgi/getmsg.cgi?fetch=215083+0+archive/2004/freebsd-current/20041128.freebsd-current">http://docs.freebsd.org/cgi/getmsg.cgi?fetch=215083+0+archive/2004/freebsd-current/20041128.freebsd-current</a>, <a href="http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1279567+0+archive/2004/freebsd-current/20041121.freebsd-current">http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1279567+0+archive/2004/freebsd-current/20041121.freebsd-current</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.rafan.org/archives/92/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

