<?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>Somewhere out there! &#187; Kvm</title>
	<atom:link href="http://stateless.geek.nz/tag/kvm/feed/" rel="self" type="application/rss+xml" />
	<link>http://stateless.geek.nz</link>
	<description></description>
	<lastBuildDate>Sun, 18 Oct 2009 11:03:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>kvm vs qemu-kvm vs kvm-kmod</title>
		<link>http://stateless.geek.nz/2009/10/16/kvm-vs-qemu-kvm-vs-kvm-kmod/</link>
		<comments>http://stateless.geek.nz/2009/10/16/kvm-vs-qemu-kvm-vs-kvm-kmod/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 21:01:10 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Kvm]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=710</guid>
		<description><![CDATA[Ubuntu recently change their package names for kvm.  This comment posted on qemu-0.11.0 Released provides an explanation:

qemu-kvm includes features and fixes from upstream qemu and so takes its naming scheme from upstream qemu. You can think of it as qemu optimized for kvm. Note too that qemu-kvm does not include the kernel module but only the [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu recently change their package names for kvm.  This comment posted on <a href="http://www.linux-kvm.com/content/qemu-0110-released#comment-686">qemu-0.11.0 Released</a> provides an explanation:</p>
<blockquote>
<p style="margin-top: 0em; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; line-height: 17px; padding: 0px;"><strong>qemu-kvm includes features and fixes from upstream qemu and so takes its naming scheme from upstream qemu.</strong> You can think of it as qemu optimized for kvm. Note too that qemu-kvm does not include the kernel module but only the userspace and considered to be stable.</p>
<p style="margin-top: 0em; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; line-height: 17px; padding: 0px;"><strong>kvm-xx on the other hand is the development branch of kvm and not considered to be stable.</strong> It&#8217;s naming scheme is arbitrary and it also takes features from upstream qemu.</p>
</blockquote>
<p style="margin-top: 0em; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; line-height: 17px; padding: 0px;">&#8230;</p>
<blockquote>
<p style="margin-top: 0em; margin-right: 0px; margin-bottom: 1.5em; margin-left: 0px; line-height: 17px; padding: 0px;">kvm-kmod is different to kvm-xx. You can think of kvm-kmod as a subset of the kvm-xx. <strong>KVM-xx = userspace + kernel where kvm-kmod is the kernel part of it and qemu-kvm is the userspace part (the guest process itself)</strong>. You can apply the kvm-kmod to any distro version or linux version.. it&#8217;s just the kernel driver. However, without the userspace part, you can&#8217;t do much with it.</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/10/16/kvm-vs-qemu-kvm-vs-kvm-kmod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>kvm disk performance with different backends</title>
		<link>http://stateless.geek.nz/2009/10/13/kvm-disk-performance-with-different-backends/</link>
		<comments>http://stateless.geek.nz/2009/10/13/kvm-disk-performance-with-different-backends/#comments</comments>
		<pubDate>Mon, 12 Oct 2009 23:16:11 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Kvm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=696</guid>
		<description><![CDATA[Here  some results from testing I did in August 2009 on  KVM with the three different disk image drivers. First a single disk system running Ubuntu x64 9.04:

 QCOW2:
/dev/vda:
Timing cached reads:   9836 MB in  2.00 seconds = 4923.22 MB/sec
Timing buffered disk reads:  1050 MB in  3.00 seconds = 349.92 MB/sec
RAW:
/dev/vda:
Timing cached reads: [...]]]></description>
			<content:encoded><![CDATA[<p>Here  some results from testing I did in August 2009 on  KVM with the three different disk image drivers. First a single disk system running Ubuntu x64 9.04:</p>
<p><span id="more-696"></span></p>
<p><code> QCOW2:<br />
/dev/vda:<br />
Timing cached reads:   9836 MB in  2.00 seconds = 4923.22 MB/sec<br />
Timing buffered disk reads:  1050 MB in  3.00 seconds = 349.92 MB/sec</code></p>
<p><code>RAW:<br />
/dev/vda:<br />
Timing cached reads:   10118 MB in  2.00 seconds = 5064.57 MB/sec<br />
Timing buffered disk reads:  1054 MB in  3.00 seconds = 351.32 MB/sec</code></p>
<p><code> </code></p>
<p><code>LVM<br />
/dev/vda:<br />
Timing cached reads:   9328 MB in  2.00 seconds = 4668.90 MB/sec<br />
Timing buffered disk reads:  202 MB in  3.00 seconds =  67.26 MB/sec</code></p>
<p><code>qcow2,488M,61454,88,288839,43,61540,14,45880,57,445361,57,13550.6,99,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++<br />
raw  ,488M,54972,86,54393,16,60636,17,68490,84,442091,43,6685.1,97,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++<br />
lvm  ,488M,58248,90,62764,17,58271,19,64677,83,455263,38,7912.3,96,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</code></p>
<p><code>QCOW2<br />
Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-<br />
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--<br />
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP<br />
vm2            488M 61454  88 288839  43 61540  14 45880  57 445361  57 13551  99<br />
------Sequential Create------ --------Random Create--------<br />
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--<br />
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP<br />
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++<br />
vm2,488M,61454,88,288839,43,61540,14,45880,57,445361,57,13550.6,99,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</p>
<p>RAW</p>
<p>Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-<br />
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--<br />
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP<br />
vm2            488M 54972  86 54393  16 60636  17 68490  84 442091  43  6685  97<br />
------Sequential Create------ --------Random Create--------<br />
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--<br />
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP<br />
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++<br />
vm2,488M,54972,86,54393,16,60636,17,68490,84,442091,43,6685.1,97,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++</p>
<p></code></p>
<p><code>LVM<br />
Version 1.03c       ------Sequential Output------ --Sequential Input- --Random-<br />
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--<br />
Machine        Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP<br />
vm2            488M 58248  90 62764  17 58271  19 64677  83 455263  38  7912  96<br />
------Sequential Create------ --------Random Create--------<br />
-Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--<br />
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP<br />
16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++<br />
vm2,488M,58248,90,62764,17,58271,19,64677,83,455263,38,7912.3,96,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++<br />
</code></p>
<p>Then a <a href="http://spreadsheets.google.com/ccc?key=0Am-tdsutQAFCdDd1MFVBQ19pNUhUbTBRYm5pUXU1elE&amp;hl=en">spreadsheet</a> with a large set of test using Ubuntu x64 9.04 host  with two ES SATA disks and LVM over raid1/md.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/10/13/kvm-disk-performance-with-different-backends/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>vmbuilder, virtio and fstab</title>
		<link>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/</link>
		<comments>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 00:26:06 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kvm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=688</guid>
		<description><![CDATA[nic@vm-base:~$ sudo blkid /dev/vda2
/dev/vda2: UUID=&#8221;0c75b2dd-6c6f-4729-b041-0d95475dc171&#8243; TYPE=&#8221;swap&#8221;
If you install a vm with vmbuilder without virtio the swap section of /etc/fstab will use /dev/sda2 instead of /dev/vda2. You can use blkid
nic@vm-base:~$ sudo blkid
/dev/vda1: UUID="bac299c4-c545-46ca-aed3-26da4a56f6d7" TYPE="ext3"
/dev/vda2: TYPE="swap" UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"
/dev/vdb: UUID="jIkLcQ-zXUo-KIWR-zvmm-cpKP-9PpT-eE9RY3" TYPE="lvm2pv"
and then add this UUID to fstab:
nic@vm-base:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# &#60;file system&#62;    [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">nic@vm-base:~$ sudo blkid /dev/vda2</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/dev/vda2: UUID=&#8221;0c75b2dd-6c6f-4729-b041-0d95475dc171&#8243; TYPE=&#8221;swap&#8221;</div>
<p>If you install a vm with vmbuilder without virtio the swap section of /etc/fstab will use /dev/sda2 instead of /dev/vda2. You can use blkid</p>
<pre>nic@vm-base:~$ sudo blkid
/dev/vda1: UUID="bac299c4-c545-46ca-aed3-26da4a56f6d7" TYPE="ext3"
/dev/vda2: TYPE="swap" UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"
/dev/vdb: UUID="jIkLcQ-zXUo-KIWR-zvmm-cpKP-9PpT-eE9RY3" TYPE="lvm2pv"</pre>
<div>and then add this UUID to fstab:</div>
<pre style="padding-left: 30px;">nic@vm-base:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# &lt;file system&gt;                                 &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
proc                                            /proc           proc    defaults        0       0
/dev/sda1                                       /               ext3    defaults        0       0
UUID="0c75b2dd-6c6f-4729-b041-0d95475dc171"     swap            swap    defaults        0       0</pre>
<p>in order to get swap working with different driver types.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/08/14/vmbuilder-virtio-and-fstab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running KVM</title>
		<link>http://stateless.geek.nz/2009/08/13/running-kvm/</link>
		<comments>http://stateless.geek.nz/2009/08/13/running-kvm/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 21:50:45 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Kvm]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualisation]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/2009/08/13/running-kvm/</guid>
		<description><![CDATA[I&#8217;ve started running KVM recently and I&#8217;ll post a review at some point.  I&#8217;m finding it very flexible and much much easier to use that Xen.
There are still a few questions regarding file caches and disk images. In general I&#8217;m happy that it&#8217;s ready for production.
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve started running KVM recently and I&#8217;ll post a review at some point.  I&#8217;m finding it very flexible and much much easier to use that Xen.</p>
<p>There are still a few questions regarding file caches and disk images. In general I&#8217;m happy that it&#8217;s ready for production.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2009/08/13/running-kvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redhat and KVM</title>
		<link>http://stateless.geek.nz/2008/09/05/redhat-and-kvm/</link>
		<comments>http://stateless.geek.nz/2008/09/05/redhat-and-kvm/#comments</comments>
		<pubDate>Fri, 05 Sep 2008 02:54:12 +0000</pubDate>
		<dc:creator>Nicholas Lee</dc:creator>
				<category><![CDATA[Kvm]]></category>
		<category><![CDATA[Xen]]></category>
		<category><![CDATA[Virtualisation]]></category>

		<guid isPermaLink="false">http://stateless.geek.nz/?p=576</guid>
		<description><![CDATA[Redhat has acquired Qumranet the developers of KVM. Will be interesting to see how this plays out in the Linux virtualisation world. 
I haven&#8217;t tried KVM yet as I&#8217;ve been too busy and Xen is more mature &#8211; but many of the accounts I&#8217;ve read seem to indicate that for Linux its performance is very [...]]]></description>
			<content:encoded><![CDATA[<p>Redhat has acquired <a href="http://www.redhat.com/promo/qumranet/">Qumranet</a> the developers of <a href="http://kvm.qumranet.com/">KVM</a>. Will be interesting to see how this plays out in the Linux virtualisation world. </p>
<p>I haven&#8217;t tried KVM yet as I&#8217;ve been too busy and Xen is more mature &#8211; but many of the accounts I&#8217;ve read seem to indicate that for Linux its performance is very good maybe better in some cases than Xen.  Management is another issue, but that is just a matter of time and development enegry.</p>
<p>From <a href="http://lwn.net/Articles/296896/">lwn</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://stateless.geek.nz/2008/09/05/redhat-and-kvm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
