<?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>Alex Amiryan's Linux Blog &#187; RAID</title>
	<atom:link href="http://www.amiryan.org/tag/raid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.amiryan.org</link>
	<description>Just sharing my experiance in linux</description>
	<lastBuildDate>Tue, 10 Nov 2009 19:56:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>SOLVED: Linux software RAID 5 too slow</title>
		<link>http://www.amiryan.org/2009/04/10/solved-linux-software-raid-5-too-slow/</link>
		<comments>http://www.amiryan.org/2009/04/10/solved-linux-software-raid-5-too-slow/#comments</comments>
		<pubDate>Fri, 10 Apr 2009 21:02:09 +0000</pubDate>
		<dc:creator>Alex Amiryan</dc:creator>
				<category><![CDATA[howtos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://alexamiryan.wordpress.com/?p=155</guid>
		<description><![CDATA[In this article I am going to tell about my experience with Linux software RAID. So I had a ASUS P6T motherboard which has Intel ICH10R raid controller, 3x 1 Tb SATA 2 HDDs and Intel Core i7 920 processor. So I wanted to install Fedora 10 on that machine. After configuring RAID 5 in [...]]]></description>
			<content:encoded><![CDATA[<!--Amazon_CLS_IM_START--><p>In this article I am going to tell about my experience with Linux software RAID.<br />
So I had a ASUS P6T motherboard which has Intel ICH10R raid controller, 3x 1 Tb SATA 2 HDDs and Intel Core i7 920 processor. So I wanted to install Fedora 10 on that machine.<br />
After configuring RAID 5 in the BIOS I booted the Fedora 10 installation DVD to start the installation. BUT! Suddenly I saw that Anaconda see 3 separate hard drives instead of 1 RAID device. After some googleing I figured out that my motherboard don&#8217;t have real RAID controller. Instead it is fakeraid controller. It is just software raid which software is located in BIOS. So I decided to use linux software raid, because it is definitely better than the from ASUS.<br />
So installed Fedora 10 with linux software RAID 5 with LUKS encryption. After installation machine started to work very slowly. I thought it so because of the encryption, but after some googleing I understood that the encryption can&#8217;t slow down the machine that way. The thing was when you newly create RAID 5 array it needs to build the 3rd hard drive and it take a lot of time. It took from me approximately 4 hours to finish that operation on 1 Tb hard drives. You can check the rebuild status at any time invoking one of the following commands:</p>
<pre class="brush: bash"># cat /proc/mdstat</pre>
<p>or</p>
<pre class="brush: bash"># mdadm --detail /dev/md0</pre>
<p>After rebuild was over and after some tunings (see tuning parameters below) I had ~90 Mb/s write and ~200 Mb/s read.</p>
<p>My tuning parameters was:</p>
<pre class="brush: bash">echo 32768 &gt; /sys/block/md0/md/stripe_cache_size</pre>
<pre class="brush: bash">blockdev --setra 65536 /dev/md0</pre>
<!--Amazon_CLS_IM_END-->]]></content:encoded>
			<wfw:commentRss>http://www.amiryan.org/2009/04/10/solved-linux-software-raid-5-too-slow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
