<?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>Rogierm&#039;s Blog &#187; cloud</title>
	<atom:link href="http://rogierm.redbee.nl/blog/tag/cloud/feed/" rel="self" type="application/rss+xml" />
	<link>http://rogierm.redbee.nl/blog</link>
	<description>Just another blog with technical stuff</description>
	<lastBuildDate>Mon, 28 Jun 2010 21:04:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Storage performance difference between KVM and Xen</title>
		<link>http://rogierm.redbee.nl/blog/2010/06/28/storage-performance-difference-between-kvm-and-xen/</link>
		<comments>http://rogierm.redbee.nl/blog/2010/06/28/storage-performance-difference-between-kvm-and-xen/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 21:04:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[iscsi]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=147</guid>
		<description><![CDATA[Several blogs and manuals with examples on kvm or xen setups use NFS as storage backend. Mostly they state that for production use iSCSI is recommended. However there are examples where NFS is part of the architecture, eg. OpenNebula. I tried to find specific statistics on the performance differences between NFS, iSCSI and local storage. [...]]]></description>
			<content:encoded><![CDATA[<p>Several blogs and manuals with examples on kvm or xen setups use NFS as storage backend. Mostly they state that for production use iSCSI is recommended. However there are examples where NFS is part of the architecture, eg. OpenNebula. I tried to find specific statistics on the performance differences between NFS, iSCSI and local storage. During this search I encountered some pointers that NFS and Xen is not a good combination, but never a straight comparison.</p>
<p>I decided to invest some time and setup a small test environment and run some bonnie++ statistics. This is not a scientific designed experiment, but a test to show the differences between the platforms. Two test platforms are setup, 1 with a Xen server (DL360G6) (xen1) and a 12 disk SATA storage server (storage1), and another with a KVM server (DL360G5) (kvm1) and a 2 disk SATA storage server (storage2) . Both servers are connected with a gigabit network. I&#8217;ve also run a test with a 100mb/s network between the kvm1 and storage2 server. For reference I&#8217;ve also done tests with the images on localdisk.</p>
<p>I realize that LVM and iSCSI storage is most efficient, but storage with image files is very convenient and in case of cloud setups sometimes the only option.</p>
<table border="1" cellspacing="0" frame="VOID">
<colgroup>
<col width="391"></col>
<col width="36"></col>
<col width="55"></col>
<col width="43"></col>
<col width="48"></col>
<col width="50"></col>
<col width="48"></col>
<col width="43"></col>
<col width="48"></col>
<col width="43"></col>
<col width="48"></col>
<col width="50"></col>
<col width="52"></col>
<col width="47"></col>
</colgroup>
<tbody>
<tr>
<td width="391" height="17" align="LEFT"></td>
<td width="36" align="LEFT"></td>
<td colspan="6" width="286" align="LEFT">Seq output</td>
<td colspan="4" width="188" align="LEFT">Seq input</td>
<td colspan="2" width="99" align="LEFT">Random</td>
</tr>
<tr>
<td height="17" align="LEFT"></td>
<td align="LEFT"></td>
<td colspan="2" align="LEFT">Per Chr</td>
<td colspan="2" align="LEFT">Block</td>
<td colspan="2" align="LEFT">Rewrite</td>
<td colspan="2" align="LEFT">Per Chr</td>
<td colspan="2" align="LEFT">Block</td>
<td colspan="2" align="LEFT">Seeks</td>
</tr>
<tr>
<td height="17" align="LEFT"></td>
<td align="LEFT">Size</td>
<td align="LEFT">K/sec</td>
<td align="LEFT">%CP</td>
<td align="LEFT">K/sec</td>
<td align="LEFT">%CP</td>
<td align="LEFT">K/sec</td>
<td align="LEFT">%CP</td>
<td align="LEFT">K/sec</td>
<td align="LEFT">%CP</td>
<td align="LEFT">K/sec</td>
<td align="LEFT">%CP</td>
<td align="LEFT">/sec</td>
<td align="LEFT">%CP</td>
</tr>
<tr>
<td height="17" align="LEFT">Xen-guest-via-nfs-tapaio</td>
<td align="LEFT">1G</td>
<td align="RIGHT">3570</td>
<td align="RIGHT">5</td>
<td align="RIGHT">2436</td>
<td align="RIGHT">0</td>
<td align="RIGHT">1366</td>
<td align="RIGHT">0</td>
<td align="RIGHT">26474</td>
<td align="RIGHT">41</td>
<td align="RIGHT">24831</td>
<td align="RIGHT">0</td>
<td align="LEFT">6719.0</td>
<td align="RIGHT">1</td>
</tr>
<tr>
<td height="17" align="LEFT">xen-guest-via-iscsi</td>
<td align="LEFT">1G</td>
<td align="RIGHT">25242</td>
<td align="RIGHT">40</td>
<td align="RIGHT">12071</td>
<td align="RIGHT">1</td>
<td align="RIGHT">15175</td>
<td align="RIGHT">0</td>
<td align="RIGHT">32071</td>
<td align="RIGHT">42</td>
<td align="RIGHT">47742</td>
<td align="RIGHT">0</td>
<td align="LEFT">7331.3</td>
<td align="RIGHT">1</td>
</tr>
<tr>
<td height="17" align="LEFT">kvm-guest-nfs-1gb-net</td>
<td align="LEFT">1G</td>
<td align="RIGHT">8140</td>
<td align="RIGHT">16</td>
<td align="RIGHT">17308</td>
<td align="RIGHT">3</td>
<td align="RIGHT">11864</td>
<td align="RIGHT">2</td>
<td align="RIGHT">40861</td>
<td align="RIGHT">81</td>
<td align="RIGHT">71711</td>
<td align="RIGHT">3</td>
<td align="LEFT">2126.6</td>
<td align="RIGHT">54</td>
</tr>
<tr>
<td height="17" align="LEFT">kvm-guest-nfs-qcow-100mb</td>
<td align="LEFT">1G</td>
<td align="RIGHT">1922</td>
<td align="RIGHT">3</td>
<td align="RIGHT">9874</td>
<td align="RIGHT">1</td>
<td align="RIGHT">3994</td>
<td align="RIGHT">0</td>
<td align="RIGHT">10720</td>
<td align="RIGHT">22</td>
<td align="RIGHT">10441</td>
<td align="RIGHT">0</td>
<td align="LEFT">595.4</td>
<td align="RIGHT">33</td>
</tr>
<tr>
<td height="17" align="LEFT">kvm-guest-nfs-qcow-100mb-2nd</td>
<td align="LEFT">1G</td>
<td align="RIGHT">9735</td>
<td align="RIGHT">21</td>
<td align="RIGHT">2039</td>
<td align="RIGHT">0</td>
<td align="RIGHT">3197</td>
<td align="RIGHT">0</td>
<td align="RIGHT">10729</td>
<td align="RIGHT">22</td>
<td align="RIGHT">10463</td>
<td align="RIGHT">0</td>
<td align="LEFT">685.3</td>
<td align="RIGHT">38</td>
</tr>
<tr>
<td height="17" align="LEFT">kvm-guest-nfs-qcow-100mb-3rd</td>
<td align="LEFT">1G</td>
<td align="RIGHT">5327</td>
<td align="RIGHT">10</td>
<td align="RIGHT">7378</td>
<td align="RIGHT">1</td>
<td align="RIGHT">4421</td>
<td align="RIGHT">0</td>
<td align="RIGHT">10655</td>
<td align="RIGHT">18</td>
<td align="RIGHT">10512</td>
<td align="RIGHT">0</td>
<td align="LEFT">706.3</td>
<td align="RIGHT">39</td>
</tr>
<tr>
<td height="17" align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
</tr>
<tr>
<td height="17" align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
<td align="LEFT"></td>
</tr>
<tr>
<td height="17" align="LEFT">xenserver-nfsmount</td>
<td align="LEFT">1G</td>
<td align="RIGHT">41507</td>
<td align="RIGHT">60</td>
<td align="RIGHT">60921</td>
<td align="RIGHT">7</td>
<td align="RIGHT">29687</td>
<td align="RIGHT">1</td>
<td align="RIGHT">33427</td>
<td align="RIGHT">48</td>
<td align="RIGHT">64147</td>
<td align="RIGHT">0</td>
<td align="LEFT">4674.4</td>
<td align="RIGHT">11</td>
</tr>
<tr>
<td height="17" align="LEFT">kvmserver-nfs-1G</td>
<td align="LEFT">20G</td>
<td align="RIGHT">31158</td>
<td align="RIGHT">52</td>
<td align="RIGHT">32044</td>
<td align="RIGHT">17</td>
<td align="RIGHT">10749</td>
<td align="RIGHT">2</td>
<td align="RIGHT">19152</td>
<td align="RIGHT">28</td>
<td align="RIGHT">18987</td>
<td align="RIGHT">1</td>
<td align="LEFT">90.3</td>
<td align="RIGHT">1</td>
</tr>
<tr>
<td height="17" align="LEFT">localdisk-on-nfs-server-cloudtest3</td>
<td align="LEFT">4G</td>
<td align="RIGHT">41926</td>
<td align="RIGHT">65</td>
<td align="RIGHT">43805</td>
<td align="RIGHT">7</td>
<td align="RIGHT">18928</td>
<td align="RIGHT">3</td>
<td align="RIGHT">52943</td>
<td align="RIGHT">72</td>
<td align="RIGHT">56616</td>
<td align="RIGHT">3</td>
<td align="LEFT">222.6</td>
<td align="RIGHT">0</td>
</tr>
</tbody>
</table>
<p>The  conclusion of the tests is that local storage is fastest. NFS storage with Xen is not a good combination. Xen runs best with iSCSI backed storage. KVM with NFS runs significantly better. It is safe to say that if you want to use NFS use it with KVM, not with Xen. In any case iSCSI is always the best option for Xen. I have not yet tested KVM with iSCSI but I expect this to perform better than NFS.</p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2010/06/28/storage-performance-difference-between-kvm-and-xen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenNebula EC2 error</title>
		<link>http://rogierm.redbee.nl/blog/2009/09/20/opennebula-ec2-error/</link>
		<comments>http://rogierm.redbee.nl/blog/2009/09/20/opennebula-ec2-error/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 21:18:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[opennebula]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=78</guid>
		<description><![CDATA[While experimenting with OpenNebula and trying to build a public cloud with the EC2 interface to OpenNebula I encountered the following problem in the code: [rogierm@cloudtest3 one]$ econe-upload /home/rogierm/test.img /usr/lib/ruby/1.8/rdoc/ri/ri_options.rb:53: uninitialized constant RI::Paths (NameError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/1.8/rdoc/usage.rb:72 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/local/one/bin/econe-upload:61 I fixed this problem by [...]]]></description>
			<content:encoded><![CDATA[<p>While experimenting with OpenNebula and trying to build a public cloud with the EC2 interface to OpenNebula I encountered the following problem in the code:<br />
<code><br />
[rogierm@cloudtest3 one]$ econe-upload /home/rogierm/test.img<br />
/usr/lib/ruby/1.8/rdoc/ri/ri_options.rb:53: uninitialized constant RI::Paths (NameError)<br />
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'<br />
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'<br />
	from /usr/lib/ruby/1.8/rdoc/usage.rb:72<br />
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'<br />
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'<br />
	from /usr/local/one/bin/econe-upload:61<br />
</code></p>
<p>I fixed this problem by adding the following line (above the other require statements) in econe-upload, or any other command giving the same error:<br />
<code><br />
require 'rdoc/ri/ri_paths'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2009/09/20/opennebula-ec2-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
