- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- OK to allocate all the Host's physical CPU cores t...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2013 03:21 PM
07-01-2013 03:21 PM
Hello forum -
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.)
As you can see, the HPVM host has 2, dual-core CPUs (4 cores):
Host60 # machinfo
CPU info:
2 Intel(R) Itanium 2 9000 series processors (1.59 GHz, 18 MB)
532 MT/s bus, CPU version C2
4 logical processors (2 per socket)
Host60 # hpvmstatus -r
[Virtual Machine Resource Entitlement]
[Virtual CPU entitlement]
Percent Cumulative
Virtual Machine Name VM # #VCPUs Entitlement Maximum Usage Usage
==================== ===== ====== =========== ======= ======= ================
VM60_25 1 2 10.0% 100.0% 25.6% 4240594649
VM60_26 2 2 10.0% 100.0% 9.1% 1372121936
VM63_27 3 2 10.0% 100.0% 20.7% 1747948460
Question:
If we allow the guests to use all 4 of the host's CPU cores, is there any danger to the host?
In other words, could the guests conceivably take all the CPU power under high load, and possibly crash the physical host blade? Are CPU resources like Memory in HPVM where you want to reserve some resources for the host to keep running?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2013 03:26 PM
07-01-2013 03:26 PM
Re: OK to allocate all the Host's physical CPU cores to each guest?
No, there is no danger to the host. 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.
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2013 04:38 PM
07-01-2013 04:38 PM
Re: OK to allocate all the Host's physical CPU cores to each guest?
Thanks for the reply, Dave. Would you consider allocating all the physical CPUs to each guest a generally good practice?
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. (These VMs have been up over 800 days in production.)
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? (The IT Mgrs around here ask such questions. )
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2013 06:16 PM
07-01-2013 06:16 PM
SolutionMy answer, as is my typical answer for any performance related question, is "it depends".
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. 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.
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. 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.
Do all three of these VMs experience periods of increased need during a typical monthly cycle? Two of them? One of them? 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.
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. Depending on which version, you might need to think about updating to a newer version to remain supported. For example, support for version 4.2 ended in March 2013. Support for v4.2.5 ends in September 2013 and support for v4.3 is scheduled to end in March 2014. If you're running a v4.X version of Integrity VM you may want to think about updating to a v6.X version.
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2013 09:04 AM
07-02-2013 09:04 AM
Re: OK to allocate all the Host's physical CPU cores to each guest?
Dave -
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.
- Mike