<?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>madnet.ch - Rolf Klemenz &#187; performance</title>
	<atom:link href="http://www.madnet.ch/tag/performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madnet.ch</link>
	<description>because technology matters</description>
	<lastBuildDate>Fri, 25 Jun 2010 16:38:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Tuning Gigabit Ethernet on Mac OS X&#160;(10.5)</title>
		<link>http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/</link>
		<comments>http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 08:13:24 +0000</pubDate>
		<dc:creator>Rolf</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[MadNet]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/</guid>
		<description><![CDATA[I recently bought a new NAS (Netgear ReadyNAS Duo) and attached it to my gigabit ethernet network. Unfortunately I only got transfer rates at around 10 MB/s which is really poor. I enabled Jumbo Frames (MTU &#62; 1500) but this didn&#8217;t help much. So I did a bit more research and found out that the [...]]]></description>
			<content:encoded><![CDATA[<p>I recently bought a new NAS (Netgear ReadyNAS Duo) and attached it to my gigabit ethernet network. Unfortunately I only got transfer rates at around 10 MB/s which is really poor. I enabled Jumbo Frames (MTU &gt; 1500) but this didn&#8217;t help much. So I did a bit more research and found out that the limiting factor was not only the MTU but the send and receive buffers.<br />
This means my CPU was not able to catch up with the speed of the gigabit ethernet. What I did then was to increase the send and receive buffers for TCP/UDP traffic. É voilà! Now I get at least 35 MB/s. Still not the max a gigabit ethernet can offer, but I&#8217;m on the right way. I&#8217;d like to see something like 80-90 MB/s. Given the Samsung Disk can do at least 175 MB/s to/from buffer this should be possible.</p>
<p>I use the following parameters in my sysctl.conf:</p>
<p><code>kern.ipc.maxsockbuf=2500000<br />
net.inet.tcp.sendspace=1000000<br />
net.inet.tcp.recvspace=1000000<br />
net.inet.tcp.mssdflt=7936<br />
net.inet.tcp.delayed_ack=0</code><br />
The buffers are probably too high, I know. </p>
<p><a href="http://www.addtoany.com/add_to/twitter?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="Twitter" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/twitter.png" width="16" height="16" alt="Twitter"/></a> <a href="http://www.addtoany.com/add_to/facebook?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="Facebook" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/facebook.png" width="16" height="16" alt="Facebook"/></a> <a href="http://www.addtoany.com/add_to/digg?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="Digg" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/digg.png" width="16" height="16" alt="Digg"/></a> <a href="http://www.addtoany.com/add_to/sphere?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="Sphere" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/sphere.png" width="16" height="16" alt="Sphere"/></a> <a href="http://www.addtoany.com/add_to/delicious?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="Delicious" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/delicious.png" width="16" height="16" alt="Delicious"/></a> <a href="http://www.addtoany.com/add_to/friendfeed?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="FriendFeed" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/friendfeed.png" width="16" height="16" alt="FriendFeed"/></a> <a href="http://www.addtoany.com/add_to/tumblr?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="Tumblr" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/tumblr.png" width="16" height="16" alt="Tumblr"/></a> <a href="http://www.addtoany.com/add_to/evernote?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="Evernote" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/evernote.png" width="16" height="16" alt="Evernote"/></a> <a href="http://www.addtoany.com/add_to/slashdot?linkurl=http%3A%2F%2Fwww.madnet.ch%2F2009%2F02%2F16%2Ftuning-gigabit-ethernet-on-mac-os-x-105%2F&amp;linkname=Tuning%20Gigabit%20Ethernet%20on%20Mac%20OS%20X%26nbsp%3B%2810.5%29" title="Slashdot" rel="nofollow" target="_blank"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/icons/slashdot.png" width="16" height="16" alt="Slashdot"/></a> <a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://www.madnet.ch/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
