<?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>VCritical &#187; VM hardware</title>
	<atom:link href="http://www.vcritical.com/tag/vm-hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vcritical.com</link>
	<description>Informed Virtualization Criticism</description>
	<lastBuildDate>Mon, 30 Aug 2010 12:20:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Use Coreinfo to view VM core and socket count</title>
		<link>http://www.vcritical.com/2009/09/use-coreinfo-to-view-vm-core-and-socket-count/</link>
		<comments>http://www.vcritical.com/2009/09/use-coreinfo-to-view-vm-core-and-socket-count/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 03:58:19 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[Sysinternals]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[VM hardware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1633</guid>
		<description><![CDATA[By using an unsupported VM configuration file (vmx) option called cpuid.coresPerSocket, it is possible to present multi-core virtual CPUs to VMware ESX virtual machines.]]></description>
			<content:encoded><![CDATA[<p>A VMware ESX 4 (and ESXi 4) virtual machine can have up to 8 virtual CPUs.  Even though the underlying physical hardware has multiple cores per socket, each virtual CPU presented to the guest OS appears as a separate socket.</p>
<p>This normally does not matter because guest operating systems treat cores as CPUs anyway.  However, there is one significant area that is affected &#8212; licensing.  Some operating systems and applications are licensed by physical CPU, regardless of the core count.  If this license is enforced only by a legal agreement, and not by technology, then there is still no problem &#8212; configure a four vCPU VM on a system with a quad-core processor and you are in the clear.</p>
<p>The issue arises when software <em>enforces </em>the CPU socket limitation.  One good example of this is an operating system like Windows XP, which supports a maximum of two sockets &#8212; there is no way to use four cores if each is presented as a socket even though such an action would still be allowed within the license agreement.</p>
<p>To address this, vSphere 4 introduced a new undocumented VM configuration option called <strong>cpuid.coresPerSocket</strong>.</p>
<p>If you have experimented with the feature &#8212; Duncan Epping <a href="http://www.yellow-bricks.com/2009/06/04/per-processor-licenses-for-your-application/" target="_blank">already wrote about it</a> a while back &#8212; you may have wondered if there is a method to see how many cores and sockets a Windows system has.  After all, Device Manager simply shows each core as a CPU.</p>
<p>One of the more recent Sysinternals tools from Mark Russinovich does that very thing.</p>
<p style="padding-left: 30px;">Acquiring Sysinternals, and gaining Mark Russinovich, was an exceptionally wise move by Microsoft.  So far, so good &#8212; knock on wood &#8212; Microsoft has not done anything ridiculous like restricting the  tools to be part of a Software Assurance (SA) incentive.</p>
<p>The <a href="http://technet.microsoft.com/en-us/sysinternals/cc835722.aspx" target="_blank">Sysinternals utility is called Coreinfo</a>.  In these examples I am using it with two flags to show cores and sockets:</p>
<p><strong>coreinfo -c -s</strong></p>
<p>Here is a default VMware ESX 4 VM with 8 vCPUs:</p>
<p><img class="alignnone size-full wp-image-1636" title="8-socket CPU" src="http://www.vcritical.com/wp-content/uploads/2009/09/8-socket.png" alt="8-socket CPU" width="382" height="366" /></p>
<p><span id="more-1633"></span></p>
<p>After changing cpuid.coresPerSocket to 8, like so:</p>
<p><img class="alignnone size-full wp-image-1637" title="Set option cpuid.coresPerSocket=8" src="http://www.vcritical.com/wp-content/uploads/2009/09/coresPerSocket_8.png" alt="Set option cpuid.coresPerSocket=8" width="454" height="219" /></p>
<p>The guest OS sees a single socket, 8-core VM:</p>
<p><img class="alignnone size-full wp-image-1635" title="8-core CPU" src="http://www.vcritical.com/wp-content/uploads/2009/09/8-core.png" alt="8-core CPU" width="384" height="329" /></p>
<p>Setting the value to 4 divides the 8 cores into two sockets like this:</p>
<p><img class="alignnone size-full wp-image-1638" title="Dual quad-core CPUs" src="http://www.vcritical.com/wp-content/uploads/2009/09/dual-quad-core.png" alt="Dual quad-core CPUs" width="384" height="330" /></p>
<p>That last setting is the most legitimate for licensing purposes, as the underlying hardware here is a dual quad-core.</p>
<p>Please remember that this feature is currently not supported by VMware GSS.  If you need to use it in production, please contact your VMware account team so that your use case can be taken into account when planning future releases.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/02/new-vmware-esxi-management-kit/' rel='bookmark' title='Permanent Link: New VMware ESXi Management Kit'>New VMware ESXi Management Kit</a></li>
<li><a href='http://www.vcritical.com/2008/12/vm-resource-management-hyper-v-versus-scvmm/' rel='bookmark' title='Permanent Link: VM Resource Management: Hyper-V versus SCVMM'>VM Resource Management: Hyper-V versus SCVMM</a></li>
<li><a href='http://www.vcritical.com/2009/12/easily-view-guest-ip-addresses-with-vsphere-client/' rel='bookmark' title='Permanent Link: Easily view guest IP addresses with vSphere Client'>Easily view guest IP addresses with vSphere Client</a></li>
<li><a href='http://www.vcritical.com/2008/12/let-them-eat-cake/' rel='bookmark' title='Permanent Link: Let them eat cake!'>Let them eat cake!</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/09/use-coreinfo-to-view-vm-core-and-socket-count/#comments">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/sysinternals/" rel="tag">Sysinternals</a>, <a href="http://www.vcritical.com/tag/technical/" rel="tag">Technical</a>, <a href="http://www.vcritical.com/tag/vm-hardware/" rel="tag">VM hardware</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/09/use-coreinfo-to-view-vm-core-and-socket-count/">Use Coreinfo to view VM core and socket count</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/09/use-coreinfo-to-view-vm-core-and-socket-count/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Upgrading VMs to vSphere virtual hardware</title>
		<link>http://www.vcritical.com/2009/07/upgrading-vms-to-vsphere-virtual-hardware/</link>
		<comments>http://www.vcritical.com/2009/07/upgrading-vms-to-vsphere-virtual-hardware/#comments</comments>
		<pubDate>Mon, 20 Jul 2009 21:40:34 +0000</pubDate>
		<dc:creator>Eric Gray</dc:creator>
				<category><![CDATA[Virtualizationism]]></category>
		<category><![CDATA[VM hardware]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://www.vcritical.com/?p=1260</guid>
		<description><![CDATA[When moving your virtual machines from VI3 to vSphere 4, remember to upgrade the VMware Tools before the virtual hardware.
Fortunately, if you do try to upgrade the hardware to version 7 first, this helpful dialog will serve as a reminder:

You might be interested in Scott Lowe&#8217;s comprehensive article on VM upgrades.


Related posts:Even GPL can&#8217;t make [...]]]></description>
			<content:encoded><![CDATA[<p>When moving your virtual machines from VI3 to vSphere 4, remember to upgrade the VMware Tools before the virtual hardware.</p>
<p>Fortunately, if you do try to upgrade the hardware to version 7 first, this helpful dialog will serve as a reminder:</p>
<p><img class="alignnone size-full wp-image-1261" title="VM hardware upgrade warning message" src="http://www.vcritical.com/wp-content/uploads/2009/07/vm_hardware_upgrade_warning.png" alt="VM hardware upgrade warning message" width="363" height="215" /></p>
<p>You might be interested in <a href="http://blog.scottlowe.org/2009/06/01/vsphere-virtual-machine-upgrade-process/" target="_blank">Scott Lowe&#8217;s comprehensive article on VM upgrades</a>.</p>


<p>Related posts:<ol><li><a href='http://www.vcritical.com/2009/07/even-gpl-cant-make-hyper-v-linux-vms-well/' rel='bookmark' title='Permanent Link: Even GPL can&#8217;t make Hyper-V Linux VMs well'>Even GPL can&#8217;t make Hyper-V Linux VMs well</a></li>
<li><a href='http://www.vcritical.com/2010/04/what-is-red-hat-enterprise-virtualization/' rel='bookmark' title='Permanent Link: What is Red Hat Enterprise Virtualization?'>What is Red Hat Enterprise Virtualization?</a></li>
<li><a href='http://www.vcritical.com/2009/01/finding-thin-provisioned-virtual-disks-with-powershell/' rel='bookmark' title='Permanent Link: Finding thin-provisioned virtual disks with PowerShell'>Finding thin-provisioned virtual disks with PowerShell</a></li>
<li><a href='http://www.vcritical.com/2010/08/book-review-maximum-vsphere/' rel='bookmark' title='Permanent Link: Book Review: Maximum vSphere'>Book Review: Maximum vSphere</a></li>
</ol></p><div style="font-family:Verdana; color:#000000; background-color: #C0C0C0; padding: 7px;border: dashed thin">

<a href="http://www.vcritical.com/2009/07/upgrading-vms-to-vsphere-virtual-hardware/#comments">Leave a Comment</a> •
<a href="http://feedproxy.google.com/vcritical">Subscribe to RSS</a> •
<a href="http://feedburner.google.com/fb/a/mailverify?uri=vcritical&loc=en_US">Subscribe via Email</a> •
<a href="http://www.twitter.com/eric_gray">Follow Eric Gray on Twitter</a><br/>

More articles on: <a href="http://www.vcritical.com/tag/vm-hardware/" rel="tag">VM hardware</a>, <a href="http://www.vcritical.com/tag/vsphere/" rel="tag">vSphere</a> • <a href="http://www.vcritical.com/category/virtualizationism/">Browse All Virtualization Content</a><br/>

<a href="http://www.vcritical.com/2009/07/upgrading-vms-to-vsphere-virtual-hardware/">Upgrading VMs to vSphere virtual hardware</a> by <a href="http://www.vcritical.com/about/">Eric Gray</a> © 2009 • <a href="http://www.vcritical.com/">VCritical</a>

</div>]]></content:encoded>
			<wfw:commentRss>http://www.vcritical.com/2009/07/upgrading-vms-to-vsphere-virtual-hardware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
