<?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: OK to allocate all the Host's physical CPU cores to each guest? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122079#M521672</link>
    <description>&lt;P&gt;No, there is no danger to the host. &amp;nbsp;The VSP (VM Host) reserves a portion of CPU for its use behind the scenes, so even if you had your entitlements set such that your VM guests were allowed to consume 100% of all 4 CPUs the VSP should still operate as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jul 2013 22:26:40 GMT</pubDate>
    <dc:creator>Dave Olker</dc:creator>
    <dc:date>2013-07-01T22:26:40Z</dc:date>
    <item>
      <title>OK to allocate all the Host's physical CPU cores to each guest?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122077#M521671</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Hello forum -&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;We want to modify 3 guests, each currently allocated with 2 vCPUs to 4 vCPUs. (We don't want to change the VM resources entitlements.) &amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;As you can see, the HPVM host has 2, dual-core CPUs (4 cores):&lt;BR /&gt;&lt;BR /&gt;Host60 # machinfo&lt;BR /&gt;CPU info:&lt;BR /&gt;&amp;nbsp; 2 Intel(R) Itanium 2 9000 series processors (1.59 GHz, 18 MB)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 532 MT/s bus, CPU version C2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;FONT color="#FF0000"&gt; 4 logical processors&lt;/FONT&gt; (2 per socket)&lt;BR /&gt;&lt;BR /&gt;Host60 # hpvmstatus -r&lt;BR /&gt;[Virtual Machine Resource Entitlement]&lt;BR /&gt;[Virtual CPU entitlement]&lt;BR /&gt;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Percent&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Cumulative&lt;BR /&gt;Virtual Machine Name VM #&amp;nbsp; #VCPUs Entitlement Maximum&amp;nbsp;&amp;nbsp; Usage&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Usage&lt;BR /&gt;==================== ===== ====== =========== ======= ======= ================&lt;BR /&gt;VM60_25&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;2&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.0%&amp;nbsp; 100.0%&amp;nbsp;&amp;nbsp; 25.6%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4240594649&lt;BR /&gt;VM60_26&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;2&amp;nbsp;&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.0%&amp;nbsp; 100.0%&amp;nbsp;&amp;nbsp;&amp;nbsp; 9.1%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1372121936&lt;BR /&gt;VM63_27&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color="#FF0000"&gt;2&lt;/FONT&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10.0%&amp;nbsp; 100.0%&amp;nbsp;&amp;nbsp; 20.7%&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1747948460&lt;BR /&gt;&lt;BR /&gt;Question:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;If we allow the guests to use all 4 of the host's CPU cores, is there any danger to the host?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In other words, could the guests conceivably take all the CPU power under high load, and possibly crash the physical host blade?&amp;nbsp; Are CPU resources like Memory in HPVM where you want to reserve some resources for the host to keep running?&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 22:21:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122077#M521671</guid>
      <dc:creator>Mike Patterson</dc:creator>
      <dc:date>2013-07-01T22:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: OK to allocate all the Host's physical CPU cores to each guest?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122079#M521672</link>
      <description>&lt;P&gt;No, there is no danger to the host. &amp;nbsp;The VSP (VM Host) reserves a portion of CPU for its use behind the scenes, so even if you had your entitlements set such that your VM guests were allowed to consume 100% of all 4 CPUs the VSP should still operate as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 22:26:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122079#M521672</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2013-07-01T22:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: OK to allocate all the Host's physical CPU cores to each guest?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122109#M521673</link>
      <description>&lt;P&gt;Thanks for the reply, Dave.&amp;nbsp; Would you consider allocating all the physical CPUs to each guest a generally good practice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, this environment in in "sustain" mode and there simply aren't enough host resources to build another guest even if we ever had such a request.&amp;nbsp; (These VMs have been up over 800 days in production.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, why not simply give each guest the maximum vCPUs available to the avoid peak performance CPU alerts that we've been getting on these VM?&amp;nbsp; (The IT Mgrs around here ask such questions. )&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jul 2013 23:38:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122109#M521673</guid>
      <dc:creator>Mike Patterson</dc:creator>
      <dc:date>2013-07-01T23:38:31Z</dc:date>
    </item>
    <item>
      <title>Re: OK to allocate all the Host's physical CPU cores to each guest?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122151#M521674</link>
      <description>&lt;P&gt;My answer, as is my typical answer for any performance related question, is "it depends". &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You could absolutely give each VM 4 vCPUs and leave their entitlements set at the defaults (min=10, max=100) and let the scheduler decide which VM needs more CPU at any given time. &amp;nbsp;Nothing wrong with that but if more than one VM needs lots of CPU time simultaneously you could run into a case where the VMs are fighting each other for priority. &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's also possible that the applications running in these VMs won't scale well past 2 CPUs, so even if you gave the VMs more CPUs they might not benefit from them. &amp;nbsp;The fact that they've been running for 800 days in production at their current configuration (I assume) tells me they work pretty well with 2 vCPUs so changing their config to 4 vCPUs should be done only after some testing to ensure the applications scale as desired.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do all three of these VMs experience periods of increased need during a typical monthly cycle? &amp;nbsp;Two of them? &amp;nbsp;One of them? &amp;nbsp;If only one VM fluctuates drastically and needs lots of CPU at times then you might consider giving that VM 100% entitlement to two CPU cores and then let the other two VMs share the remaining two cores.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a side note, if these VMs have really been running for 800 days, that tells me they're likely running an older version of Integrity VM. &amp;nbsp;Depending on which version, you might need to think about updating to a newer version to remain supported. &amp;nbsp;For example, support for version 4.2 ended in March 2013. &amp;nbsp;Support for v4.2.5 ends in September 2013 and support for v4.3 is scheduled to end in March 2014. &amp;nbsp;If you're running a v4.X version of Integrity VM you may want to think about updating to a v6.X version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 01:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122151#M521674</guid>
      <dc:creator>Dave Olker</dc:creator>
      <dc:date>2013-07-02T01:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: OK to allocate all the Host's physical CPU cores to each guest?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122975#M521675</link>
      <description>&lt;P&gt;Dave -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you thoughtful reply. Yes, we're struggling with project politics to get the HP-UX (including VM) updated on all the systems in this environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Mike&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jul 2013 16:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ok-to-allocate-all-the-host-s-physical-cpu-cores-to-each-guest/m-p/6122975#M521675</guid>
      <dc:creator>Mike Patterson</dc:creator>
      <dc:date>2013-07-02T16:04:13Z</dc:date>
    </item>
  </channel>
</rss>

