<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: CPUs for vm host and CPUs for a vm guest in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587069#M522835</link>
    <description>When you create a VM guest, every vCPU thread is scheduled to run on a separate physical core on the VM host. So in your example, you would have 4 guests each with 5 vCPUs, meaning on the VM host there would be at least 5 physical CPU cores involved with these guests. I say "at least 5" because it's possible that the VM host will schedule threads on all 8 of the cores for some of the guests.&lt;BR /&gt;&lt;BR /&gt;So while you may have 6 logical processors worth of compute power left once these 4 guests are running, you *definitely* would not be able to start a 5th guest using 100% entitlement for 6 cores because that would require 6 full CPUs that are not running other guest threads, and given the above explanation - that's not going to be the case.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
    <pubDate>Fri, 16 Mar 2012 13:09:16 GMT</pubDate>
    <dc:creator>Dave Olker</dc:creator>
    <dc:date>2012-03-16T13:09:16Z</dc:date>
    <item>
      <title>CPUs for vm host and CPUs for a vm guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5585327#M522831</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Need to understand the way we assign CPUs to a vm host and its vm guests please.&lt;/P&gt;&lt;P&gt;We have a superdome:&lt;/P&gt;&lt;P&gt;when we create an npar and install integrity software-it becomes a vm host(let us say)&lt;/P&gt;&lt;P&gt;How many CPUs will it inherit?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then can I assume that we assign these CPUs to the vm guests...the CPUs from vm host itself?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it like we will be assigning CPUs to a vm guest in the form of vCPUS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;recently we got bl860 i2 and i attached its print_manifest output here..&lt;/P&gt;&lt;P&gt;how many CPUs it has?&lt;/P&gt;&lt;P&gt;after we create vm guests in this vmhost..how many CPUs this vm host wil keep it for itself and how many will be available to distrubite while creating the vm guests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also... what is a physical CPU and what is a core&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2012 09:27:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5585327#M522831</guid>
      <dc:creator>silusan</dc:creator>
      <dc:date>2012-03-15T09:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: CPUs for vm host and CPUs for a vm guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5586179#M522832</link>
      <description>&lt;P&gt;HPVM host sees all physical CPUs in the nPar. It doesn't keep any for itself - all of them can&lt;/P&gt;&lt;P&gt;be used by guests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Virtual CPUs are not real CPUs - they are basically just kernel threads on VM host, they are not subtracted from the HPVM host CPU count. Direct CPU assignment exists in vPars but not in HPVM where&lt;/P&gt;&lt;P&gt;single physical core can be shared by several guests/vcpus.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CPU is somewhat overloaded term and it often means CPU core and sometimes CPU socket.&lt;/P&gt;&lt;P&gt;Physical CPU would in most contexts be the piece of HW you can buy, if you go to shop. These days&lt;/P&gt;&lt;P&gt;there are several cores in each package/socket/physical CPUs. The cores are independent of each&lt;/P&gt;&lt;P&gt;other in terms of execution flow. Itanium 9340 has 4 of these in single socket (ie. 4 logical processors&lt;/P&gt;&lt;P&gt;on the same silicon).&lt;/P&gt;&lt;P&gt;Plus, if enabled, you can have hyperthreads (HT) which is way of sharing silicon resources&lt;/P&gt;&lt;P&gt;of a single core between several execution threads (Hyperthreads) - there are 2 HTs per core on Itanium 9340.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See for example:&lt;/P&gt;&lt;P&gt;&lt;A href="http://ark.intel.com/products/43409/Intel-Itanium-Processor-9340-%2820M-Cache-1_60-GHz-4_80-GTs-Intel-QPI%29" target="_blank"&gt;http://ark.intel.com/products/43409/Intel-Itanium-Processor-9340-%2820M-Cache-1_60-GHz-4_80-GTs-Intel-QPI%29&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your 860i2 has 2 CPU sockets each with 4 cores, i.e. 8 logical CPUs (lines in top output).&lt;/P&gt;&lt;P&gt;You you enable HT, you can have 16 of these.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Stan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Mar 2012 19:32:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5586179#M522832</guid>
      <dc:creator>Stan_M</dc:creator>
      <dc:date>2012-03-15T19:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: CPUs for vm host and CPUs for a vm guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5586215#M522833</link>
      <description>Just to add one point to what Stan said - even if you enable HT, that does not mean you can actually assign these 16 threads to a VM or vPar.&lt;BR /&gt;&lt;BR /&gt;vPar CPU assignments are done on a physical core basis, and as Stan mentioned, VM CPU assignments are virtual CPUs running as threads on the VM host, and these VM vCPU threads are scheduled on a physical core basis, not hyperthreads.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Thu, 15 Mar 2012 19:52:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5586215#M522833</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2012-03-15T19:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: CPUs for vm host and CPUs for a vm guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587039#M522834</link>
      <description>&lt;P&gt;thanks for your replies. so my blade has eight(8) logical processors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i installed hpux 11.31 OS and made it a vmhost...&lt;/P&gt;&lt;P&gt;suppose i created hpvmguests on this host..&lt;/P&gt;&lt;P&gt;vCPU entitlement=10%&lt;/P&gt;&lt;P&gt;each vm guest has 5 vCPUs..which means each vmguest1 has 5x10%= 50%&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;guestname&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu-entitlement&amp;nbsp;&amp;nbsp; &amp;nbsp;no. of vCPUs&lt;/P&gt;&lt;P&gt;guest1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;guest2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;guest3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;guest4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so each guest takes 50% of one logical CPU&lt;/P&gt;&lt;P&gt;four guest take 200% = 2 logical CPUs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if this is th setup...then can i say all the four vm guests consumed total 2 logical processors&lt;/P&gt;&lt;P&gt;and I still have six more logical processors?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2012 12:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587039#M522834</guid>
      <dc:creator>silusan</dc:creator>
      <dc:date>2012-03-16T12:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: CPUs for vm host and CPUs for a vm guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587069#M522835</link>
      <description>When you create a VM guest, every vCPU thread is scheduled to run on a separate physical core on the VM host. So in your example, you would have 4 guests each with 5 vCPUs, meaning on the VM host there would be at least 5 physical CPU cores involved with these guests. I say "at least 5" because it's possible that the VM host will schedule threads on all 8 of the cores for some of the guests.&lt;BR /&gt;&lt;BR /&gt;So while you may have 6 logical processors worth of compute power left once these 4 guests are running, you *definitely* would not be able to start a 5th guest using 100% entitlement for 6 cores because that would require 6 full CPUs that are not running other guest threads, and given the above explanation - that's not going to be the case.&lt;BR /&gt;&lt;BR /&gt;Dave</description>
      <pubDate>Fri, 16 Mar 2012 13:09:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587069#M522835</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2012-03-16T13:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: CPUs for vm host and CPUs for a vm guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587203#M522836</link>
      <description>Understood first paragrapgh. Didnt understand the second one:&lt;BR /&gt;&lt;BR /&gt;"So while you may have 6 logical processors worth of compute power left once these 4 guests are running, you *definitely* would not be able to start a 5th guest using 100% entitlement for 6 cores because that would require 6 full CPUs that are not running other guest threads, and given the above explanation - that's not going to be the case."&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here some application guys came and they say ..in one machine...they need four cores for their application to run..&lt;BR /&gt;..so i am worried that with eight logical processors in my BL860i2 servers ..i will be not be able to create more than two vm guests... also i am worried about the CPUs needed for vm host to run..!!!</description>
      <pubDate>Fri, 16 Mar 2012 14:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587203#M522836</guid>
      <dc:creator>silusan</dc:creator>
      <dc:date>2012-03-16T14:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: CPUs for vm host and CPUs for a vm guest</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587223#M522837</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1224139"&gt;@silusan&lt;/a&gt; wrote:&lt;BR /&gt;&lt;BR /&gt;Here some application guys came and they say ..in one machine...they need four cores for their application to run..&lt;BR /&gt;..so i am worried that with eight logical processors in my BL860i2 servers ..i will be not be able to create more than two vm guests... also i am worried about the CPUs needed for vm host to run..!!!&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;If you have a server with 8 CPU cores, like a bl860c i2, and you need to create two VM guests each with 4 CPU cores &lt;U&gt;&lt;STRONG&gt;with 100% entitlement&lt;/STRONG&gt;&lt;/U&gt; then yes, you would only be able to run those two VM guests as each one would consume 4 of the VM Host cores. &amp;nbsp;If the application guy needs a VM with 4 CPU cores &lt;STRONG&gt;but not 100% entitlement&lt;/STRONG&gt; then you could stack more than 2 VM guests on a system with 8 physical cores. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the earlier example the customer wanted to run 4 VMs each with 5 vCPUs but only 10% entitlements. &amp;nbsp;That's a perfectly valid thing to do. &amp;nbsp;However, since each virtual CPU thread runs on a separate physical core, there is no way to run even a SINGLE VM guest with 5 virtual CPU cores (regardless of entitlement) and then start another VM guest requiring 100% entitlement to 6 CPU cores. &amp;nbsp;The first VM guest will take some percentage of 5 of the physical cores, leaving only 3 physical cores with 100% of their entitlement remaining.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So the point I was making is this: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4 VM guests *&amp;nbsp;5 vCPUs * 10% entitlement &amp;nbsp; != &amp;nbsp; 2 physical CPU cores&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Fri, 16 Mar 2012 15:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpus-for-vm-host-and-cpus-for-a-vm-guest/m-p/5587223#M522837</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2012-03-16T15:02:54Z</dc:date>
    </item>
  </channel>
</rss>

