<?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>vPivot &#187; kvm</title>
	<atom:link href="http://vpivot.com/tag/kvm/feed/" rel="self" type="application/rss+xml" />
	<link>http://vpivot.com</link>
	<description>Scott Drummonds on Virtualization</description>
	<lastBuildDate>Wed, 01 Feb 2012 06:46:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>KVM Performance</title>
		<link>http://vpivot.com/2009/09/30/kvm-performance/</link>
		<comments>http://vpivot.com/2009/09/30/kvm-performance/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 15:35:26 +0000</pubDate>
		<dc:creator>drummonds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://vpivot.com/?p=91</guid>
		<description><![CDATA[A few days ago someone forwarded me a blog article with an interesting claim about KVM performance: Testing results from internal and customers showed SAP workloads: 85-95, Oracle OLTP: 80-92% bare metal. LAMP stack showed better than bare metal performance. Whitepapers will be published in how this was achieved. Java achieved up to 94% bare [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago someone forwarded me <a href="http://www.linux-kvm.com/content/intro-rhev-video-redhat-summit-2009">a blog article</a> with an interesting claim about KVM performance:</p>
<blockquote><p>Testing results from internal and customers showed SAP workloads: 85-95, Oracle OLTP: 80-92% bare metal. LAMP stack showed better than bare metal performance. Whitepapers will be published in how this was achieved. Java achieved up to 94% bare metal.</p></blockquote>
<p>Frankly, I was surprised to hear this.  KVM is a hosted virtualization platform, equivalent to the <a href="http://www.vmware.com/products/server/">free VMware Server</a>, which runs on top of a host operating system.  VMware server is fine for a virtual machine or two, but you would not want it hosting your critical business applications.  The above KVM claim suggests that KVM possesses hypervisor-like performance.  So we ran a test with a few virtual machines to see what we could learn.  These tests confirmed my suspicions: KVM is a very long way from enterprise-class virtualization performance.</p>
<p><span id="more-91"></span>The thing to remember about virtualization benchmarking is that any vendor can provide virtualization software (hosted or hypervisor) that can virtualize a single application at better than 80% of native performance.  VMware has been doing this for a decade.  But it is extraordinarily difficult to build a hypervisor that can scale with many virtual machines.  Maybe this is one reason why you have never seen Microsoft or Citrix post results from a consolidated workload.  But I digress.</p>
<p>We decided that the easiest way to test this environment with a light/moderate enterprise workload is to use two or three VMs running SQL Server, as tested by <a href="http://www.delltechcenter.com/page/DVD+Store">DVD Store 2 (DS2)</a>.  We tried four configurations of these VMs:</p>
<ul>
<li>Case A: Two 4-way virtual machines.</li>
<li>Case B: Two 3-way VMs and one 2-way.</li>
<li>Case C: Three 3-way VMs.</li>
<li>Case D: Three 4-way VMs.</li>
</ul>
<p>Each virtual machine ran on an HP DL380 G5 and was given 4 GB.</p>
<p>Finding the right number of threads per virtual machine took some time.  Threads on the DS2 client determine the volume of transactions that are generated against the SQL Server.  We wanted to get the highest throughput for a reasonable latency, which we set at 33 ms.  Here are the best numbers I could produce for vSphere and KVM.</p>
<table id="newspaper-a">
<tbody>
<tr>
<th rowspan="2">Case</th>
<th colspan="2">Total OPM</th>
<th colspan="2">Avg. Response Time (ms)</th>
</tr>
<tr>
<th>vSphere</th>
<th>KVM</th>
<th>vSphere</th>
<th>KVM</th>
</tr>
<tr>
<td>A</td>
<td>58095</td>
<td>removed</td>
<td>33</td>
<td>removed</td>
</tr>
<tr>
<td>B</td>
<td>59741</td>
<td>removed</td>
<td>33</td>
<td>removed</td>
</tr>
<tr>
<td>C</td>
<td>52899</td>
<td>removed</td>
<td>33</td>
<td>removed</td>
</tr>
<tr>
<td>D</td>
<td>50996</td>
<td>removed</td>
<td>34</td>
<td>removed</td>
</tr>
</tbody>
</table>
<p>The very best performance that KVM could muster was only <em>removed</em>% of vSphere&#8217;s performance on the same configuration.  Notice that at 50% CPU over-commitment (1.5 vCPUs for each CPU), KVM&#8217;s performance <em>removed</em>.  It&#8217;s throughput fell to <em>removed</em>% of vSphere and its response time <em>removed</em>.  Increasing threads in this configuration actually made throughput and latency worse.</p>
<p>I had suspected that KVM would show hosted platform performance, as it relies on a host operating system.  It appears my suspicions were correct.  It will be tough for Red Hat to sell this product as part of an enterprise product.  To do so they will likely publish results based on single virtual machines and in environments where the CPUs are under-committed.</p>
<p>Lastly, this is the only workload that we have attempted.  I would expect KVM to do much worse when more virtual machines are part of the test or if network or storage throughput becomes significant.  But we have no plans to spend time on KVM benchmarking.  As I mentioned in <a href="http://www.catalyst.burtongroup.com/Na09/PlayerVideo011.html">my performance debate at Catalyst 2009</a>, I think that each vendor should do its own benchmarking to best represent its products.  I challenge Red Hat to post a KVM number using TPC, SPECweb, VMmark, vConsolidate, or any enterprise-class workload.  Customers should expect nothing less of their virtualization vendor.</p>
<h2>10/2/09 Update</h2>
<p>I decided to remove the KVM results to allow Red Hat or a KVM enthusiast to show their own best results on a consolidated workload.  I recommend VMmark or vConsolidate.</p>
]]></content:encoded>
			<wfw:commentRss>http://vpivot.com/2009/09/30/kvm-performance/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

