<?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>Tech Blog &#187; linux server</title>
	<atom:link href="http://informationideas.com/news/tag/linux-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Sat, 17 Mar 2012 02:14:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Mysql on Windows vs Linux</title>
		<link>http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/</link>
		<comments>http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/#comments</comments>
		<pubDate>Fri, 02 May 2008 04:12:56 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[benchmark]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 2003]]></category>
		<category><![CDATA[windows server]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/</guid>
		<description><![CDATA[I was working on optimizing a Mysql database today and accidentally stumbled upon a benchmarking exercise. The original Mysql database is hosted on a Windows Server 2003. I develop on a Mysql database server running on Ubuntu Linux. The Linux server ran the same query twice as fast as the Windows server without using caching [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>I was working on optimizing a Mysql database today and accidentally stumbled upon a benchmarking exercise.  The original Mysql database is hosted on a Windows Server 2003.  I develop on a Mysql database server running on Ubuntu Linux.  The Linux server ran the same query twice as fast as the Windows server without using caching or anything.  I know that Linux does I/O caching on its own as well so I even tried running the query after a fresh reboot to rule out that factor.  Then I got help from a colleague and started tweaking with the my.cnf/my.ini to make sure they were the same and each time, the results came back about the same.  Mysql on Windows was consistently slower than Mysql on Linux.</p>
<p>Then we decided to load the database onto other servers for more data points on this Mysql performance test. We ran the same query returning 429 rows of data with 13 table joins and a couple of sub-queries.  All queries were run on the command line client on the servers themselves to avoid network lag.Â  All servers are running Mysql 5.0.x.</p>
<p><strong>Results</strong></p>
<p>1. Ubuntu Linux:                    0.70 seconds<br />
2. CentOS:                               0.78 seconds<br />
3. Windows 2003 Server:     1.40 seconds<br />
4. Windows 2003 Server:     1.42 seconds</p>
<p><strong>Server hardware</strong></p>
<p>1. Ubuntu Linux<br />
AMD ATHLON 64 X2 4200+<br />
2GB DDR400<br />
200GB 7200RPM SATA/150</p>
<p>2. CentOS<br />
Dual Opteron 240<br />
2GB DDR ECC<br />
120GB 7200RPM SATA/300</p>
<p>3. Windows 2003 Server<br />
Dual Xeon<br />
2GB DDR ECC<br />
7200RPM PATA</p>
<p>4. Windows 2003 Server<br />
2 Dual Xeon (4 CPUs)<br />
8GB DDR ECC<br />
3 73GB 10,000RPM SCSI in RAID 5</p>
<p><strong><a href="http://informationideas.com/news/2008/05/09/mysql-on-32bit-processor-vs-64bit-processor/">A followup to the benchmark that clarifies the cause of the differences</a></strong></p>
<div class="shr-publisher-47"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2008/05/01/mysql-on-windows-vs-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.269 seconds -->

