<?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; vsphere</title>
	<atom:link href="http://vpivot.com/tag/vsphere/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>Running Apple OSX Lion on vSphere 5</title>
		<link>http://vpivot.com/2011/08/11/running-apple-osx-lion-on-vsphere-5/</link>
		<comments>http://vpivot.com/2011/08/11/running-apple-osx-lion-on-vsphere-5/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 14:38:55 +0000</pubDate>
		<dc:creator>drummonds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://vpivot.com/?p=955</guid>
		<description><![CDATA[In my last blog article I counted the ability to virtualize Apple&#8217;s new OSX Lion as one of the top 10 reasons for upgrading to VMware vSphere 5.  Aaron Hossain pointed out that an article I linked as support for this claim really suggested that virtualization on vSphere would not be supported by Apple.  Aaron&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://vpivot.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-11-at-10.30.01-PM.png"><img class="alignright size-medium wp-image-956" title="OSX Lion" src="http://vpivot.com/wp-content/uploads/2011/08/Screen-Shot-2011-08-11-at-10.30.01-PM-300x223.png" alt="" width="300" height="223" /></a>In <a href="http://vpivot.com/2011/08/07/top-10-reasons-to-upgrade-to-vsphere-5/">my last blog article</a> I counted the ability to virtualize Apple&#8217;s new OSX Lion as one of the top 10 reasons for upgrading to VMware vSphere 5.  <a href="http://vpivot.com/2011/08/07/top-10-reasons-to-upgrade-to-vsphere-5/#comments">Aaron Hossain pointed out</a> that <a href="http://www.macrumors.com/2011/07/01/os-x-lion-allows-running-multiple-copies-on-the-same-machine-virtualization/">an article I linked as support for this claim</a> really suggested that virtualization on vSphere would not be supported by Apple.  Aaron&#8217;s question was interesting enough, and the answer complicated enough, that I want to include my reply in its own article.  Here is the scoop on OSX Lion on vSphere with new commentary not in my previous comment.</p>
<p><span id="more-955"></span>Apple makes it difficult to quote their End-user License Agreement (EULA) here.  I found the EULA using Apple&#8217;s App Store application on my Mac.  On the right sidebar of the Lion information screen is a link that says &#8220;App License Agreement&#8221;.  That brings you to the EULA, which is in a non-searchable, non-copyable textbox.  So, I&#8217;m retyping the relevant section here for discussion.  I have checked this twice and I think there are no typographical errors.</p>
<div>
<p>The operative phrase comes from Chapter 2 (&#8220;Permitted License Uses and Restrictions&#8221;), Section B (&#8220;License from Mac App Store&#8221;), Paragraph iii.  That section says users can “install, use and run up to two (2) additional copies or instances of the Apple Software within virtual operating system environments on each Mac Computer you own or control that is already running the Apple Software”. No one will argue that this wording will allow you to run Lion in a virtual machine on VMware Fusion on top of a Mac running Lion.</p>
<p>Because all VMware virtualization products use the same monitor, all of VMware&#8217;s products are capable of running virtual machines that run on any of them. This means that the Lion virtual machines running legally in Fusion on a Lion iMac should correctly run on vSphere after cold migration to another server. But will that be a license violation? Possibly.</p>
<p>Apple requires these virtual instances to be on Mac hardware. The HCL for vSphere 5 has not been released yet but it would be interesting if vSphere 5’s HCL included an Apple system. The EULA might then allow multiple Lion virtual machines on that ESX server. But we are not through the woods yet.</p>
<p>The EULA quote above says these virtual machines are only permitted on servers “already running the Apple Software”. I believe this wording is intended to require a native OSX install on the Apple hardware. This would mean no VMware hypervisor–just hosted virtualization like Fusion. But the phrasing is ambiguous.  If one Lion virtual machine is &#8220;already running&#8221;, subsequent virtual machine instantiations would not result in EULA violations.  The the administrator finds himself in a awkward position of defining what &#8220;already running&#8221; means among multiple concurrently active virtual machines.</p>
<p>I think reasonable people will agree that Apple&#8217;s intent is to restrict Lion virtual machines to hosted virtualization like VMware Fusion on top of other Macs running Lion.  If I am right, Apple is trying to block users from running OSX Lion on VMware vSphere 5.</p>
<p>However, VMware has a long (and proud!) history of allowing customers to pursue new strategies for datacenter efficiency that are beyond the limits of existing license models. One need only look at the pre-<a href="http://www.windowsservercatalog.com/svvp.aspx">SVVP</a> virtualization of Microsoft applications and current Oracle DB virtualization licensing to find examples of smart customers pushing the bounds of dumb license models. Historically, these progressive customers have forced the hand of vendors with stupid EULAs.  Often the vendors worked with their valued customers to provide exceptions.  This is common with Oracle&#8217;s customers.</p>
<p>By opening up the technical possibility of OSX virtualization and its support by VMware as a guest operating system, customers may choose to experiment with OSX virtualization on any VMware product.  It will then be up to customers, their interpretation of the license agreement, and their relationship with Apple to determine the future of OSX on vSphere.</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://vpivot.com/2011/08/11/running-apple-osx-lion-on-vsphere-5/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Top 10 Reasons to Upgrade to vSphere 5</title>
		<link>http://vpivot.com/2011/08/07/top-10-reasons-to-upgrade-to-vsphere-5/</link>
		<comments>http://vpivot.com/2011/08/07/top-10-reasons-to-upgrade-to-vsphere-5/#comments</comments>
		<pubDate>Sun, 07 Aug 2011 05:19:19 +0000</pubDate>
		<dc:creator>drummonds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[srm]]></category>
		<category><![CDATA[vasa]]></category>
		<category><![CDATA[vcloud director]]></category>
		<category><![CDATA[vshield]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://vpivot.com/?p=944</guid>
		<description><![CDATA[I was recently re-watching the classic cultural assessment of our friends down under, Bart vs. Australia. Among the other completely accurate portrayals of our Aussie friends, you will see MPs slopping pigs, the Prime Minister drinking beer from an inner-tube on a lake, and of course The Boot. All of this got me thinking of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://vpivot.com/wp-content/uploads/2011/08/aus_flag.png"><img class="alignright size-medium wp-image-946" title="Australian Flag" src="http://vpivot.com/wp-content/uploads/2011/08/aus_flag-300x219.png" alt="" width="300" height="219" /></a>I was recently re-watching the classic cultural assessment of our friends down under, <a href="http://en.wikipedia.org/wiki/Bart_vs._Australia">Bart vs. Australia</a>.  Among the other <em>completely accurate</em> portrayals of our Aussie friends, you will see MPs slopping pigs, the Prime Minister drinking beer from an inner-tube on a lake, and of course The Boot.  All of this got me thinking of the Melbourne stop in EMC&#8217;s five-city Pre-sales Conference Roadshow that finished a week ago.  VMware partially sponsored this event and its fantastic SE and one of my good friends, Pete Marfatia, gave an electrifying presentation on the top 10 reasons to upgrade to vSphere 5.</p>
<p>In this entry I want to share with you VMware&#8217;s top 10 list that Pete presented with Tim Hartman.  I have provided <a onclick="javascript: _gaq.push(['_trackPageview', '/downloads/map']);" href="http://e-scott.net/share/emc/vsphere5_top_10.pdf">a PDF version of their presentation on my blog</a> in case you want more detail.  Feel free to contact me, your local VMware SE, or a vSpecialist if you want more information.  Now, on to the top 10!</p>
<p><span id="more-944"></span><strong>Reason #10: OSX Lion Support.</strong> If you <a href="http://twitter.com/#!/drummonds">follow me on Twitter</a> you know I think OSX Lion is Apple&#8217;s Vista.  Application load times stink, the built-in PDF viewer &#8220;Preview&#8221; will not print on my laptop, I am always warned that no preferred network is available followed by a dialog showing my preferred home network, and there are other annoyances.  But, hey, at least <a href="http://www.macrumors.com/2011/07/01/os-x-lion-allows-running-multiple-copies-on-the-same-machine-virtualization/">Apple is allowing VMware to virtualize this version of OSX</a>.  And vSphere 5 supports it.</p>
<p><a href="http://vpivot.com/wp-content/uploads/2011/08/auto_deploy.png"><img class="size-medium wp-image-948 alignleft" title="Auto-deploy" src="http://vpivot.com/wp-content/uploads/2011/08/auto_deploy-254x300.png" alt="" width="254" height="300" /></a><strong>Reason #9: Auto-deploy.</strong> VMware has been working on stateless ESXi for some time and vSphere 5 finally got it right. You can easily build installable images and use vCenter&#8217;s Auto Deploy to fully configure a new instance during install time.  This means a small amount of configuration information in the image points the new ESX server to vCenter&#8217;s host profiles, which provides the full configuration for an ESX host.</p>
<p><strong>Reason #8: vSphere Replication.</strong> Site Recovery Manager (SRM) 5 can now use software replication in the ESX server, which I informally call host-based replication (HBR).  Even though EMC sells replication, we love what VMware is doing with HBR.  Its simple, elegant, and wonderfully integrated.  Everyone should give it a try.  You will find EMC&#8217;s replication products as simple, as integrated, and even more robust.  As your SRM deployment grows consider EMC replication.  But for your first SRM deployment I highly recommend VMware&#8217;s HBR.</p>
<p><strong>Reason #7: Cloud Security.</strong> <a href="http://blog.romant.net/">Roman Tarnavski</a> and <a href="http://vpivot.com/tag/vshield/">I love VMware vShield</a>.  I am convinced that every customer in the world should deploy vShield.  vShield 5 comes embedded with RSA&#8217;s data loss protection.  This means vShield can automatically detect and fence off virtual machines with sensitive information.</p>
<p><a href="http://vpivot.com/wp-content/uploads/2011/08/monster_vms.png"><img class="alignright size-medium wp-image-949" title="Monster VMs" src="http://vpivot.com/wp-content/uploads/2011/08/monster_vms-219x300.png" alt="" width="219" height="300" /></a><strong>Reason #6: Monster VMs.</strong> Now you can make 32-way virtual machines with up to 1 TB of vRAM.  VMware&#8217;s goal here is to enable customers to go 100% virtualized with virtual machines that can contain your largest workloads.  But in my opinion the applications that could not fit in vSphere 4&#8242;s 8-way virtual machines represented less than 0.01% of the world&#8217;s x86 applications.  The result is these new virtual machine sizes only opened vSphere up for the final 0.01% of the world&#8217;s un-virtualized x86 applications.</p>
<p><strong>Reason #5: Manage Anywhere.</strong> Finally, a vSphere Web Client! &#8217;nuff said.</p>
<p><strong>Reason #4: Failback Planned Migration.</strong> SRM 5 has been augmented to allow re-protection of a protected site after a migration or DR event.  This allows for failback, which customers have been asking for since SRM was first released.  On top of this, VMware has enabled a planned migration scenario with SRM 5.  This means SRM 5 customers can shutdown protected virtual machines, synchronize their content using the vendor&#8217;s storage replication adapter (SRA), and restart the virtual machines on the remote site.  With the click of a button an entire datacenter can be moved with little disruption.</p>
<p><strong>Reason #3: vSphere Storage Appliance.</strong> Turn your unused x86 servers with direct-attached storage into vSphere storage nodes.  The VSA will protect data using a RAID 1+0 configuration.</p>
<p><a href="http://vpivot.com/wp-content/uploads/2011/08/linked_clones.png"><img class="alignleft size-medium wp-image-950" title="Linked Clones" src="http://vpivot.com/wp-content/uploads/2011/08/linked_clones-271x300.png" alt="" width="271" height="300" /></a><strong>Reason #2: Linked Clones.</strong> vCloud Director now supports linked clones.  This greatly improves virtual machine deployment times and drastically reduces the cost of storage in cloud deployments.</p>
<p><strong>Reason #1: Smarter Storage.</strong> VMware finally released the storage DRS you knew was coming for years.  On top of this, the new <a href="http://vpivot.com/2011/07/26/vstorage-apis-for-storage-awareness-vasa/">vStorage APIs for Storage Awareness</a> will subtly but powerfully change the face of storage management.</p>
]]></content:encoded>
			<wfw:commentRss>http://vpivot.com/2011/08/07/top-10-reasons-to-upgrade-to-vsphere-5/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Performance Survey from VMworld (US)</title>
		<link>http://vpivot.com/2010/10/19/performance-survey-from-vmworld-us/</link>
		<comments>http://vpivot.com/2010/10/19/performance-survey-from-vmworld-us/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 09:31:10 +0000</pubDate>
		<dc:creator>drummonds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[vmworld]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://vpivot.com/?p=675</guid>
		<description><![CDATA[The VMworld events in both San Francisco and Copenhagen included a new discussion forum where subject matter experts spent time interacting with a small group of similarly-minded enthusiasts.  VMware was kind enough to invite me to host a performance discussion and the interactions I had with each group were fantastic.  At the organizers&#8217; request, I [...]]]></description>
			<content:encoded><![CDATA[<p>The VMworld events in both San Francisco and Copenhagen included a new discussion forum where subject matter experts spent time interacting with a small group of similarly-minded enthusiasts.  VMware was kind enough to invite me to host a performance discussion and the interactions I had with each group were fantastic.  At the organizers&#8217; request, I seeded the discussions with an interactive survey that touched off deep conversation and engaging debate.  The results were collected by local staff and just recently I received those from the San Francisco VMworld&#8217;s group discussion on performance.</p>
<p>I asked about nine questions of the forum&#8217;s attendees and four of them generated rich discussion.  There were about 25 people in attendance, which were self-selected to have both opinions and total comfort sharing them.  Here are the questions, the results, and my commentary.</p>
<p><strong><span id="more-675"></span>Question: What do you think is the state of performance of VMware vSphere 4.1?</strong></p>
<p>Answer options:</p>
<ol>
<li>I am not concerned about performance in any of my virtualized applications</li>
<li>I am concerned about performance in a very small number (&lt;2%) of my applications</li>
<li>I do not think that vSphere can perform well enough for my big databases</li>
<li>I virtualize IT applications, but fear the virtual performance of my lines of business applications</li>
<li>I fear performance in general, and only virtualize after rigorous testing</li>
</ol>
<p>The results:</p>
<p style="text-align: left;"><a href="http://vpivot.com/wp-content/uploads/2010/10/perf_perception.png"><img size-large wp-image-676" title="Performance Perception" src="http://vpivot.com/wp-content/uploads/2010/10/perf_perception-910x1023.png" alt="" width="600" /></a>My perspective on VMware performance is that it is sufficient to virtualize all but about 0.1% of application instances in today&#8217;s enterprise since vSphere 4, nevertheless vSphere 4.1.  This means a theoretical penetration of 99.9% for VMware&#8217;s hypervisor.  It is clear from these results that VMware&#8217;s customers do not yet believe VMware is so close to ubiquitous virtualization.  But often when I dig into performance objections the root of concern is dated results on older hardware and experiences on previous versions of VMware&#8217;s products.  My mantra to those of you that remain skeptical of what VMware can do with your big applications is &#8220;give it another try&#8221;.</p>
<p style="text-align: left;"><strong>Question: How do you feel VMware vSphere 4.1 performance compares against the competition?</strong></p>
<p>Answer options:</p>
<ol>
<li>vSphere 4.1 is generally much better than competing hypervisors</li>
<li>vSphere 4.1 is sometimes better and other times similarly performing to competing hypervisors</li>
<li>vSphere 4.1 performance is equivalent to other hypervisors, sometimes winning and sometimes losing</li>
<li>vSphere 4.1 is consistently slower than at least one other hypervisor</li>
<li>Who cares?  I am not making a purchasing decision based on performance anyway</li>
</ol>
<p>The results:</p>
<p style="text-align: left;"><a href="http://vpivot.com/wp-content/uploads/2010/10/competitive_perception.png"><img class="size-large wp-image-677" title="vSphere Competitive Performance" src="http://vpivot.com/wp-content/uploads/2010/10/competitive_perception-910x1023.png" alt="" width="600" /></a>A few times in my years at VMware I directly engaged in <a href="http://www.catalyst.burtongroup.com/Na09/PlayerVideo011.html">competitive debate</a> on the relative merits of VMware&#8217;s products.  But my position on the need of direct competitive comparison has mellowed recently.  I much prefer to put my company&#8217;s products in their best light and let our customers decide if its merits outweigh those of our competitors.  But I am always fascinated by the public perception of our work, even when evaluated at a conference largely composed of enthusiasts.</p>
<p style="text-align: left;">The large portion of respondents that believe vSphere in a dominant position with respect to performance will extol the incredible pace of innovation coming from Palo Alto.  And the sizable portion of attendees that consider most hypervisors at performance parity with each other will surely site all products&#8217; heavy reliance on hardware assist.  I believe that both of these perspectives are true.  When ESX is &#8220;dumbed down&#8221; to be feature equivalent to another product (by doing something like removing the balloon driver or turning off memory compression) it is possible for a less mature product to deliver comparable performance.  But it is because of the barrage of features included in each launch that VMware can generate more work per server than its competition.</p>
<p style="text-align: left;"><strong>Question: Which of the following represents the most important performance accomplishment in the past three years?</strong></p>
<p>Answer options:</p>
<ol>
<li>The ESX scheduler’s continual improvement</li>
<li>Improved hardware assist in the CPU</li>
<li>A better vSphere IO stack, including the paravirtualized SCSI device</li>
<li>Paravirtualization of the operating system (including Windows enlightenments)</li>
<li>Other</li>
</ol>
<p>The results:</p>
<p style="text-align: left;"><a href="http://vpivot.com/wp-content/uploads/2010/10/best_perf_feature.png"><img class="size-large wp-image-678" title="Best Performance Feature Ever" src="http://vpivot.com/wp-content/uploads/2010/10/best_perf_feature-834x1023.png" alt="" width="600" /></a>Intel and AMD&#8217;s dedication to improving the efficiency of virtual computing environments cannot be overstated.  But it is often lost in that discussion that VMware put tremendous engineering effort to making good use of these features, including rebuilding a scheduler to leverage Hyper-threading more aggressively than ever before.</p>
<p style="text-align: left;">From my perspective the most important improvement in VMware&#8217;s history was the storage stack optimizations that came with vSphere 4.  It took those improvements before one could seriously consider running intense, business-critical, IO-bound applications in a virtual environment.  But now you can.  Storage performance is not longer a problem.  Case closed on this, believe me.</p>
<p style="text-align: left;"><strong>Question: What is the coolest performance feature added to vSphere 4.1?</strong></p>
<p>Answer options:</p>
<ol>
<li>Memory compression</li>
<li>Storage IO control (SIOC)</li>
<li>Network IO control (NetIOC)</li>
<li>Faster vMotion, with more concurrent vMotions</li>
<li>Other</li>
</ol>
<p>The results:</p>
<p><a href="http://vpivot.com/wp-content/uploads/2010/10/best_vsphere_perf_feature.png"><img class="size-large wp-image-679" title="Best vSphere 4.1 Performance Feature" src="http://vpivot.com/wp-content/uploads/2010/10/best_vsphere_perf_feature-910x1023.png" alt="" width="600" /></a>I was glad to see how popular the new vMotion is in vSphere 4.1.  I was surprised that many people took note of this improvement.  But very glad.</p>
<p>I am not surprised that Storage IO Control (SIOC) figures prominently with customers of new features.  Given that storage causes so many performance problems, VMware clearly has a lot of customers that want help correcting them.</p>
<p>My erstwhile colleague and VMworld co-presenter, Kaushik &#8220;K-ban&#8221; Banerjee, votes strongly for Network IO Control (NetIOC) as the more important addition to the vSphere 4.1 arsenal.  Kaushik argues that 10 Gb networking is exploding in IT and that application performance management on it is very difficult without bandwidth prioritization.  One attendee of the Copenhagen group discussion agreed with K-ban in principle but claimed that 10 Gb networks were not yet prevalent enough to demand the presence of NetIOC.  If this is so, then we can thank VMware for having the foresight to correct a problem before it is widespread.</p>
<p>I hope to soon receive the results from the VMworld in Copenhagen.  When I do I will certainly post a follow-up blog.  The sample size is relative small as a portion of VMware&#8217;s US and EMEA business but it could be fun to draw some generalizations from each region&#8217;s responses.</p>
]]></content:encoded>
			<wfw:commentRss>http://vpivot.com/2010/10/19/performance-survey-from-vmworld-us/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>vSphere 4.0, Hyper-Threading, and Terminal Services</title>
		<link>http://vpivot.com/2010/03/17/vsphere-4-0-hyper-threading-and-terminal-services/</link>
		<comments>http://vpivot.com/2010/03/17/vsphere-4-0-hyper-threading-and-terminal-services/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 22:23:28 +0000</pubDate>
		<dc:creator>drummonds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[hyper-threading]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[terminal services]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://vpivot.com/?p=333</guid>
		<description><![CDATA[I recently wrote a blog article detailing Hyper-Threading (HT) and its effect on vSphere.  An astute reader pointed out, a recent update to Project VRC&#8216;s terminal services analysis suggests disappointment with HT on vSphere.  We spent a lot of time looking at those results to understand why they contradicted the body of performance data, which [...]]]></description>
			<content:encoded><![CDATA[<p>I recently wrote <a href="http://vpivot.com/2010/03/06/hyper-threading-on-vsphere/">a blog article detailing Hyper-Threading (HT) and its effect on vSphere</a>.  An astute reader pointed out, a recent update to <a href="http://www.virtualrealitycheck.net/">Project VRC</a>&#8216;s terminal services analysis suggests disappointment with HT on vSphere.  We spent a lot of time looking at those results to understand why they contradicted the body of performance data, which show HT offering 10-30% gain on vSphere. What we discovered led us to create a vSphere patch that would allow users to improve performance in some benchmarking environments.</p>
<p><span id="more-333"></span>Among the many results presented by VRC, the configurations that most perplexed us were the two and four virtual machine configurations, each with four vCPUs per virtual machine.  The configuration with two virtual machines looked good and matched our internal numbers.  In this configuration there are a total of eight vCPUs on the host which maps each to its own physical core on the Xeon 5500 series processor.  The problem arose when the virtual machine count was increased to four, resulting in 16 total vCPUs.  In this configuration each vCPU is paired with one logical, Hyper-Threaded core.  Project VRC showed this configuration supporting no more desktops than the two-VM configuration, which suggests no value to Hyper-Threading on this configuration.</p>
<p>It took us some time to understand the reason for these results, but we eventually identified a very specific condition where ESX&#8217;s scheduler enforces fairness in scheduling vCPUs at at cost of throughput.  ESX&#8217;s scheduler has long be subject of the intensive scrutiny of a large number of VMware engineers to guarantee fair access to the processor for each virtual machine.  It is because of this fairness that VMware&#8217;s customers can rely on CPU resource controls.  But, when fairness goes too far, throughput may be sub-optimal.</p>
<p>Hyper-Threading presents particular problems to fairness because of the non-linear performance it delivers.  A thread will run at one speed when it has full access to a physical core, at another speed when it is sharing a core, and at third speed when sharing a core with a different thread.  As a result, ESX&#8217;s scheduler will sometimes pause a thread to enforce fairness.  These pauses are more common when Hyper-Threading is present to account for its lack of uniformity in thread performance.  If the host lacks vCPUs that are ready to run, the result is CPU utilization below saturation, leaving CPU cycles unused.</p>
<p>There are three specific conditions that can excite this condition:</p>
<ol>
<li>A Xeon 5500 series processor is present with Hyper-Threading enabled,</li>
<li>CPU utilization is near saturation, and</li>
<li>A roughly one-to-one mapping between vCPUs and logical processors.</li>
</ol>
<p>In this scenario, VMware vSphere favors fairness over throughput and sometimes pauses one vCPU to dedicate a whole core to another vCPU, eliminating gains provided by Hyper-Threading.  In cases outside of these three conditions, the performance of VMware vSphere 4 meets the high expectations of VMware&#8217;s R&amp;D team and its customers.  Of course production environments rarely (never?) have a one-to-one ratio of vCPUs to logical processors.  This occurs when there are only four 4-way virtual machines on a Xeon 5500 system, for example.</p>
<p>But environments such as Project VRC&#8217;s are simplifications of production environments meant to understand the capabilities of virtual platforms.  VMware has provided a patch to Project VRC that will allow them to improve throughput in their environment.  We are going to release this patch and its documentation to the general public within a couple of weeks.  I do not expect that any of VMware&#8217;s customers will benefit from the changes is allows, but I will later document the patch and its usage for anyone that cares to experiment.</p>
]]></content:encoded>
			<wfw:commentRss>http://vpivot.com/2010/03/17/vsphere-4-0-hyper-threading-and-terminal-services/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Hyper-Threading on vSphere</title>
		<link>http://vpivot.com/2010/03/06/hyper-threading-on-vsphere/</link>
		<comments>http://vpivot.com/2010/03/06/hyper-threading-on-vsphere/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 18:05:38 +0000</pubDate>
		<dc:creator>drummonds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[hyper-threading]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[vmkernel]]></category>
		<category><![CDATA[vmmark]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://vpivot.com/?p=328</guid>
		<description><![CDATA[I continue to receive many questions from our customers on the expected performance gains of the new version of Hyper-Threading in Intel&#8217;s Core i7 processors. The answer requires a little bit of discussion on Hyper-Threading, a little bit on ESX, and comes with some performance data. If you are still interested, read on. On VI3, [...]]]></description>
			<content:encoded><![CDATA[<p>I continue to receive many questions from our customers on the expected performance gains of the new version of Hyper-Threading in Intel&#8217;s Core i7 processors.  The answer requires a little bit of discussion on Hyper-Threading, a little bit on ESX, and comes with some performance data.  If you are still interested, read on.</p>
<p><span id="more-328"></span>On VI3, many of VMware&#8217;s customers disabled Hyper-Threading on their older, Netburst architecture Intel processors.  Intel has vaguely described the new Hyper-Threading as more efficient than the previous generation and I believe this to be due to a shorter pipeline and an improved ability to context switch pipeline stage data.  Long pipelines&#8211;such as the Netburst era Xeons of model numbers x1xx and x2xx&#8211;are more likely to suffer bubbles during context switches and are therefore penalized versus shorter pipeline products, such as the Core i7.  Furthermore, by pushing and restoring pipeline stage data during a hardware context switch, the new HT can reduce pipeline bubbles.</p>
<p>But the gains vSphere users experience as a result of the new Hyper-Threading also comes from changes in ESX.  ESX&#8217;s scheduler must make decisions as to when to co-locate two worlds on a physical core to take advantage of Hyper-Threading.  In some conditions the scheduler will perform this co-location and in others it will allow a world to run on the core by itself.  The decision to execute worlds concurrently instead of serially on a physical core can be informally called the scheduler&#8217;s <em>trust</em> of Hyper-Threading.  The vSphere scheduler <em>trusts</em> Hyper-Threading more than the VI3 scheduler did.  This amplifies the effect of HT.</p>
<p>I am now going to bore you with a disclaimer before I give you any data showing the effect of Hyper-Threading.  The value of HT will vary from workload to workload and the ultimate authority of HT&#8217;s value is the end-user.  The following numbers are the result of informal analysis and VMware that should only be used as a guide in your own analysis.  Please do not make purchasing decisions on this information, which is devoid of the detail we would normally commit to a white paper.</p>
<table id="newspaper-a">
<tbody>
<tr>
<th>Workload</th>
<th>Observed Throughput Gain Due to HT</th>
</tr>
<tr>
<td>VMmark</td>
<td>24%</td>
</tr>
<tr>
<td>SPECjbb</td>
<td>10%</td>
</tr>
<tr>
<td>Consolidated SQL</td>
<td>19%</td>
</tr>
</tbody>
</table>
<p>In addition to the gains we informally cite here, I can say that we have not yet seen a workload where the new Hyper-Threading slows down consolidated performance.  As far as we can tell, the new Hyper-Threading should be left enabled in 100% of virtualized environments.</p>
]]></content:encoded>
			<wfw:commentRss>http://vpivot.com/2010/03/06/hyper-threading-on-vsphere/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Four Things You Should Know About ESX 4&#039;s Scheduler</title>
		<link>http://vpivot.com/2009/09/29/four-things-you-should-know-about-esx-4s-scheduler/</link>
		<comments>http://vpivot.com/2009/09/29/four-things-you-should-know-about-esx-4s-scheduler/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 06:00:18 +0000</pubDate>
		<dc:creator>drummonds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[cpu]]></category>
		<category><![CDATA[scheduler]]></category>
		<category><![CDATA[vmkernel]]></category>
		<category><![CDATA[vmmark]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://vpivot.com/?p=11</guid>
		<description><![CDATA[[This is the last re-post of old community content.  But this content is important enough to be worth a re-post.] I spend a great deal of time answering customers&#8217; questions about the scheduler. Never have so many questions been asked about such an abstruse component for which so little user influence is possible. But CPU [...]]]></description>
			<content:encoded><![CDATA[<p><em>[This is the last <a href="http://communities.vmware.com/blogs/drummonds/2009/08/21/four-things-you-should-know-about-esx-4s-scheduler">re-post of old community content</a>.  But this content is important enough to be worth a re-post.]</em></p>
<p>I spend a great deal of time answering customers&#8217; questions about the scheduler.  Never have so many questions been asked about such an abstruse component for which so little user influence is possible.  But CPU scheduling is central to system performance, so VMware strives to provide as much information on the subject as possible.  In this blog entry, I want to point out a few nuggets of information on the CPU scheduler.  These four bullets answer 95% of the questions I get asked.</p>
<p><span id="more-11"></span></p>
<h2>Item 1: ESX 4&#8242;s Scheduler Better Uses Caches Across Sockets</h2>
<p>On UMA systems at low load levels, virtual machine performance improves when each virtual CPU (vCPU) is placed on its own socket.  This is because providing each vCPU its own socket also gives it the entire cache on that CPU.  On page 18 of a <a class="jive-link-external" href="http://www.vmware.com/files/pdf/perf-vsphere-cpu_scheduler.pdf">recent paper on the scheduler written by Seongbeom Kim</a>, a graph highlights the case where vCPU spreading improves performance.</p>
<p><img class="jive-image-thumbnail jive-image" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/38-4886-6674/Picture+2.png" alt="Picture 2.png" width="620" /></p>
<p>The X-axis represents different combinations of VM and vCPU counts.  SPECjbb is memory intensive and shows great gains with increases in CPU cache.  The few cases that show dramatic benefit due to the ESX 4.0 scheduler are benefiting from the distribution of vCPUs across sockets.  Very large gains are possible in this somewhat uncommon case.</p>
<h2>Item 2: Overuse of SMP Only Slows Consolidated Environments At Saturation</h2>
<p>For years customers have asked me how many vCPUs they should give to their VMs.  The best guidance, &#8220;as few as possible&#8221;, seems too vague to satisfy.  It remains the only correct answer, unfortunately.  But <a class="jive-link-external" href="http://blogs.vmware.com/performance/2009/06/measuring-the-cost-of-smp-with-mixed-workloads.html">a recent experiment performed by Bruce Herndon&#8217;s team</a> sheds some light on this VM sizing question.</p>
<p>In this experiment we ran VMmark against VMs that were configured outside of VMmark specifications.  In one case some of the virtual machines were given too few vCPUs and in another they were given too many.  Because VMmark&#8217;s workload is fixed, increasing the VMs&#8217; sizes does not increase the work performed by the VMs.  In other words, the system&#8217;s score does not depend on the VMs&#8217; vCPU count.  Until CPU saturation, that is.</p>
<p><img class="jive-image-thumbnail jive-image" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/38-4886-6675/Picture+3.png" alt="Picture 3.png" width="620" /></p>
<p>Notice that the scores are similar between the undersized, right-sized, and over-sized VMs.  Up until tile 10 (60 VMs) they are nearly identical.  There is a slight difference in processor utilization that begins to impact throughput (score) as the system runs out of CPU.  At that point the additional vCPUs waste cycles which degrades system performance.  Two points I will call out from this work:</p>
<ul>
<li>Sloppy VI admins that provide too many vCPUs need not worry about performance when their servers are under low load.  But performance will suffer when CPU utilization spikes.</li>
<li>The penalty of over-sizing VMs gets worse as VMs get larger.  Using a 2-way VM is not that bad, but unneeded use of 4-way VMs when one or two processors suffice can cost up to 15% of your system throughput.  I presume that unnecessarily eight vCPUs would be criminal.</li>
</ul>
<h2>Item 3: ESX Has Not Strictly Co-scheduled Since ESX 2.5</h2>
<p>I have documented ESX&#8217;s relaxation of co-scheduling previously (<a class="jive-link-wiki" href="http://communities.vmware.com/docs/DOC-4960">Co-scheduling SMP VMs in VMware ESX Server</a>).  But this statement cannot be repeated too frequently: ESX has not strictly co-scheduled virtual machines since version 2.5.   This means that ESX can place vCPUs from SMP VMs individually.  It is not necessary to wait for physical cores to be available for every vCPU before starting the VM.  However, as Item 3 pointed out, this does not give you free license to over-size your VMs.  Be frugal with your SMP VMs and assign vCPUs only when you need them.</p>
<h2>Item 4: The Cell Construct Has Been Eliminated in ESX 4.0</h2>
<p>In the performance best practices deck that I give at conferences I talk about the benefits of creating small virtual machines over large ones.  In versions of ESX up to ESX 3.5, the scheduler used a construct called a cell that would contain and lock CPU cores.  The vCPUs from a single VM could never span a cell.  With a ESX 3.x&#8217;s cell size of four this meant that VMs never spanned multiple four-core sockets.  Consider this figure:</p>
<p><img class="jive-image" src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/38-4886-6688/Picture+1.png" alt="http://communities.vmware.com/servlet/JiveServlet/downloadImage/38-4886-6688/Picture+1.png" /></p>
<p>What this figure shows is that a 4-way VM on ESX 3.5 can only be placed in two locations on this hypothetical two-socket configuration.  There are 12 combinations for a 2-way VM and eight for a uniprocessor VM.  The scheduler has more opportunities to optimize VM placement when you provide it with smaller VMs.</p>
<p>In ESX 4 we have eliminated the cell lock so VMs can span multiple sockets, as item one states.  Continue to think of this placement problem as a challenge to the scheduler that you can alleviate.  By choosing multiple, smaller VMs you free the scheduler to pursue opportunities to optimize performance in consolidated environments</p>
]]></content:encoded>
			<wfw:commentRss>http://vpivot.com/2009/09/29/four-things-you-should-know-about-esx-4s-scheduler/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Performance Troubleshooting: No PhD Required!</title>
		<link>http://vpivot.com/2009/09/18/performance-troubleshooting-no-phd-required/</link>
		<comments>http://vpivot.com/2009/09/18/performance-troubleshooting-no-phd-required/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 18:42:22 +0000</pubDate>
		<dc:creator>drummonds</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[esxtop]]></category>
		<category><![CDATA[tier-1]]></category>
		<category><![CDATA[vcenter]]></category>
		<category><![CDATA[vmworld]]></category>
		<category><![CDATA[vscsistats]]></category>
		<category><![CDATA[vsphere]]></category>

		<guid isPermaLink="false">http://vpivot.com/?p=41</guid>
		<description><![CDATA[A couple of weeks ago at VMworld in San Francisco I squeezed a few press meetings in between the 19 sessions of the performance lab I led. In one of those meetings I talked with David Vellante and two of his colleagues to discuss vSphere performance and performance monitoring.  David and company asked some hard [...]]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago at VMworld in San Francisco I squeezed a few press meetings in between the 19 sessions of the performance lab I led.  In one of those meetings I talked with <a href="http://www.internetevolution.com/profile.asp?piddl_userid=13982">David Vellante</a> and two of his colleagues to discuss vSphere performance and performance monitoring.  David and company asked some hard questions about our performance work but my knowledge of this area runs deep, so the conversation was fruitful and interesting.</p>
<p>A few days after the conference a coworker of mine shared the following quote with me, courtesy of <a href="http://www.internetevolution.com/author.asp?section_id=654&amp;doc_id=181395">an article by David on Internet Evolution</a>:</p>
<blockquote><p>The fact is, most data center managers wouldn’t trust VMware to manage their Tier 1 applications because if something goes wrong performance-wise, you still need to roll in the VMware PhDs to solve it.</p></blockquote>
<p>Let me respond to a few of the suggestions from this quote.</p>
<h2><span id="more-41"></span>&#8220;Customers Do Not Trust VMware for Tier-1 Apps&#8221;</h2>
<p>The following chart presents data collected from 676 VMware customers in July and August of 2008.</p>
<div id="attachment_58" class="wp-caption alignnone" style="width: 619px"><img class="size-full wp-image-58" title="Application Virtualization Rates (2008)" src="http://vpivot.com/wp-content/uploads/2009/09/picture-11.png" alt="Percentage of application instances virtualized by VMware customers." width="609" height="307" /><p class="wp-caption-text">Percentage of application instances virtualized by VMware customers.</p></div>
<p>This graph shows the large rates of virtualization of the most well-known enterprise applications.  By any definition of &#8220;Tier-1 Application&#8221;, at least one tier-1 application is mostly virtualized by this customer sample.  And the survey date bears repeating: summer, 2008.  Virtualization acceptance has greatly increased in the past 12 months.</p>
<p>Concerns about performance management aside, VMware customers <em>are</em> virtualizing their tier-1 apps <em>today</em>.  So let&#8217;s talk about the process of performance troubleshooting.</p>
<h2>&#8220;A PhD From VMware Is Required to Fix Performance Problems&#8221;</h2>
<p>I think that David must have inferred from my confident and detailed talk on a great number of performance-related technical topics that I am the cream of the crop of America&#8217;s educational system.  For the record, I went to a state school in Alabama and spent far more time drinking beer than going to class.  Nonetheless, I am sure what he meant to say was&#8230;</p>
<h2>&#8220;A Highly-skilled Performance Expert Is Required to Fix Performance Problems&#8221;</h2>
<p>VMware now boasts over 150,000 customers, and I only interact with a relative handful a year.  If I count the experts in our small performance community I can conclude that our performance experts touch a very small percentage of our customer base each year.  That means that the great majority of our customers are solving their performance problems without engaging us.</p>
<p>Customers are fixing their problems using a variety of tools that I continue to document:</p>
<ul>
<li>The vSphere client interface to vCenter is known to everyone and <a href="http://communities.vmware.com/docs/DOC-5600">its counters</a> operate with 20s granularity and are effective at fixing about 90% of most performance problems.</li>
<li>esxtop, with its finer granularity and <a href="http://communities.vmware.com/docs/DOC-9279">larger counter list</a>, can be used to fix 95% of problems, most of which could have been fixed with vCenter statistics.</li>
<li><a href="http://communities.vmware.com/docs/DOC-10095">vscsiStats</a> is extraordinarily useful for a small percentage of problems, perhaps 10-20% of those I see.</li>
</ul>
<p>We are currently working on collecting all of these views into the client and adding a framework, <a href="http://communities.vmware.com/community/developer/forums/vprobes?view=overview">vProbes</a>, that will enable unprecedented visibility into operating systems and applications.  But even as things stand today, we have provided documentation and tools that all of our customers can use to fix any problem.  There is always room for improvement, but no PhD is required.</p>
]]></content:encoded>
			<wfw:commentRss>http://vpivot.com/2009/09/18/performance-troubleshooting-no-phd-required/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

