<?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>SD card | LogikDevelopment</title>
	<atom:link href="https://www.logikdev.com/tag/sd-card/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.logikdev.com</link>
	<description>&#34;Il n&#039;y a pas de problème, il n&#039;y a que des solutions. L&#039;esprit de l&#039;homme invente ensuite le problème.&#34; André Gide</description>
	<lastBuildDate>Tue, 25 Apr 2017 13:57:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>
	<item>
		<title>SD Card Benchmark on a Raspberry Pi</title>
		<link>https://www.logikdev.com/2013/07/01/sd-card-benchmark-on-a-raspberry-pi/</link>
					<comments>https://www.logikdev.com/2013/07/01/sd-card-benchmark-on-a-raspberry-pi/#comments</comments>
		
		<dc:creator><![CDATA[smoreau]]></dc:creator>
		<pubDate>Mon, 01 Jul 2013 20:55:03 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[IOzone]]></category>
		<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[SD card]]></category>
		<guid isPermaLink="false">https://www.logikdev.com/?p=1990</guid>

					<description><![CDATA[<p>Some time ago, I bought a Raspberry Pi. I am not going to describe what it is here, but you can read more about it on this page. The first thing you need to buy when you&#8217;ve got a Raspberry Pi is a SD card. But the question I asked myself is: &#8220;Which one?&#8221;. Indeed, [&#8230;]</p>
<p>The post <a href="https://www.logikdev.com/2013/07/01/sd-card-benchmark-on-a-raspberry-pi/">SD Card Benchmark on a Raspberry Pi</a> first appeared on <a href="https://www.logikdev.com">LogikDevelopment</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Some time ago, I bought a <a href="http://www.raspberrypi.org/" target="_blank">Raspberry Pi</a>. I am not going to describe what it is here, but you can read more about it on <a href="http://en.wikipedia.org/wiki/Raspberry_Pi" target="_blank">this page</a>.</p>
<p>The first thing you need to buy when you&#8217;ve got a Raspberry Pi is a SD card. But the question I asked myself is: &#8220;Which one?&#8221;. Indeed, there are so many models with different type, capacity and speed. <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f641.png" alt="🙁" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>I first checked the compatibility list found on the <strong>Embedded Linux Wiki</strong>:<br />
<a href="http://elinux.org/RPi_SD_cards#Working_.2F_Non-working_SD_cards" target="_blank">http://elinux.org/RPi_SD_cards#Working_.2F_Non-working_SD_cards</a><br />
But this list didn&#8217;t help me much. Indeed, out of them, which one should I buy?</p>
<p>This is why I decided to test two SD cards with two different speed:</p>
<ul>
<li>SanDisk SDSDXPA-008G-X46 8GB 95MB/S Extreme Pro SDHC Class10</li>
<li>SanDisk SDSDX-032G-FFP 32GB 45MB/S Extreme SDHC Class10</li>
</ul>
<p>As you can see, the speed of the first one is <strong>95MB/S</strong> against <strong>45MB/S</strong> for the second one. Does it mean the Raspberry Pi will run twice quicker?<br />
Let&#8217;s check it by benchmarking the cards.</p>
<p>I used <a href="http://www.iozone.org/" target="_blank">IOzone</a> to benchmark these cards. Unfortunately, IOzone is not available for ARM on ArchLinux. I wrote a <a href="/2013/06/08/iozone-for-arch-linux-arm/" title="IOzone for Arch Linux ARM">separate article</a> about it.</p>
<p>I ran the exact same command for both cards:</p>
<pre class="brush: bash; light: true; title: ; notranslate">
iozone -e -I -a -s 50M -r 4k -r 512k -r 16M -i 0 -i 1 -i 2
</pre>
<p>Please find below the result for the SD card with a speed of 95MB/S:</p>
<pre>
                                                    random  random    bkwd   record   stride                                   
      KB  reclen   write rewrite    read    reread    read   write    read  rewrite     read   fwrite frewrite   fread  freread
   51200       4    1422    1502     5841     5838    5688     878                                                          
   51200     512   20743   20924    22094    22130   22121    8313                                                          
   51200   16384   20090   21349    22413    22514   22458   21351                                                          
</pre>
<p>The full output can be found <a href="https://www.logikdev.com/wp-content/uploads/2013/06/iozone-SDSDXPA-008G-X46.txt">here</a>.</p>
<p>And the following is the result for the SD card with a speed of 45MB/S:</p>
<pre>
                                                    random  random    bkwd   record   stride                                   
      KB  reclen   write rewrite    read    reread    read   write    read  rewrite     read   fwrite frewrite   fread  freread
   51200       4    1653    1858     4566     4716    3996     755                                                          
   51200     512   20515   19534    21953    22031   21867    4722                                                          
   51200   16384   15841   21240    22311    22390   22384   21177                                                          
</pre>
<p>The full output can be found <a href="https://www.logikdev.com/wp-content/uploads/2013/06/iozone-SDSDX-032G-FFP.txt">here</a>.</p>
<p>So, it looks like the difference is not that big. Indeed, the SD card with a speed of 95MB/S is not twice quicker than the other one. Why is that? In my opinion, this is directly linked to the actual speed of the SD card reader within the Raspberry Pi.<br />
Which means that it doesn&#8217;t matter which card you are using, you won&#8217;t go further than 22MB/S anyway.</p>
<p>Finally, please find below some other benchmarks on the same topic:</p>
<ul>
<li><a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?p=137164" target="_blank">http://www.raspberrypi.org/phpBB3/viewtopic.php?p=137164</a></li>
<li><a href="http://itsacleanmachine.blogspot.fr/2012/08/sd-card-benchmark-on-raspberry-pi.html" target="_blank">http://itsacleanmachine.blogspot.fr/2012/08/sd-card-benchmark-on-raspberry-pi.html</a>
</ul><p>The post <a href="https://www.logikdev.com/2013/07/01/sd-card-benchmark-on-a-raspberry-pi/">SD Card Benchmark on a Raspberry Pi</a> first appeared on <a href="https://www.logikdev.com">LogikDevelopment</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.logikdev.com/2013/07/01/sd-card-benchmark-on-a-raspberry-pi/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
