Need help understand Virtual Processors


 
Thread Tools Search this Thread
Operating Systems AIX Need help understand Virtual Processors
# 1  
Old 05-08-2010
Need help understanding Virtual Processors

First of all I have performed a Google search and internal search and found several descriptions but nothing I can wrap my head around and feel 100% confident about.

I feel really silly for asking this as I manage a P6 570 with 12 lpars but I have difficulity with Virtual Processors.

I can understand the Processing units section. I guess I'll let you be the judge of that.

Minimum units are the lowest amount of processing power the server with start with.

Desired units are what the server will start with if available.

Maximum units are the max I can change the Desired value to through the DLPAR process.

Also I was thinking that the Maximum units are the max the server could utilize if set in an Uncapped mode. Depending on if there are any free slices at the time it needs the extra processing power.

I understand that Virtual processors are a representation of a physical processor to the O/S. So in my env below I have a Desired processor count of .5 so at a minimum I am required to have 1 Virtual processor but I can have up to 10 x .5 or 5 Virtual processors.

If I understand what I read, if you increase the number of virtual processors, you increase the number of operations that can run concurrently. I don't get it; you just don't get something out of nothing.

I don't think I can assign half a physical processor and choose to assign 5 Virtual to the system and expect that it will just work like it has 5 physical processors.

I know I am talking too much but some folks like lots of info and some probably wanted me to shut up 5 minutes ago.

I just need to understand how the virtual processor values play a part in this and how I should rightly manage those values.

My env;

Code:
 
Processing mode = Shared
 
Processing units
Total manages system processing units: 8.00
 
Minimum = .1
Desired = .5
Max = .7
 
Virtual Processors
 
Minimum virtual = 1.0
Desired virtual = 1.0
Maximum virtual = 1.0
 
Sharing Mode = Uncapped
Weight = 128

O/S AIX 5.3, ranging from TL6 to TL9


Thank you for your time.

Last edited by juredd1; 05-08-2010 at 12:39 AM.. Reason: Adding additional content
# 2  
Old 05-09-2010
A Virtual CPU is the virtual device used by a Physical CPU to provide CPU resources to an LPAR. Each virtual CPU can be backed only by one physical CPU, so you are right about that.

There would be no point in having 5.0 CPU units and 1 vCPU as 4 vCPUs would go to waste.

Its easiest to deal with capped LPARs first, they will never borrow CPU above their desired setting. They use what they have and thats all - generally useful for oerformance test environments - or where licensing is controlled at a physical CPY Level (and yes I'm ignoring CPU pools).

With uncapped partitions they will borrow CPU resources up to the maximum and equal to the number of desired vCPUS. The tradeoff is that the amount of CPU the box uses isn't always fixed, as other LPARS may have call on that CPU.

so in the case you descrive above the LPAR gets the additional 4.5 CPUs only when the LPARS that own the CPU aren't using it - or if its not allocated within the server, that its the only LPAR that wants them. In short, the LPAR can only have the extra CPU if its avialble and no other LPAR is using it.

I generall set max vCPU and max CPU = number of CPUs in the box - I've never found a reason to limit myself to a lower value.
# 3  
Old 05-10-2010
ross,

If I understand you correctly the desired vCPU is the value that I want to set if I wanted to allow this server to use up to X number of CPU's, if the resources were available.

The max CPU is only relating to how much up can up the desired CPU through DLPAR and the max vCPU is relating to the most I can up the desired vCPU through DLPAR.


Thank you for your patience.
# 4  
Old 05-10-2010
Yes, your understanding is correct.
This User Gave Thanks to ross.mather For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies

2. Red Hat

Number of physical and virtual processors

Hi, i am trying to find out hpw many virtual and physical processors does any linux machine has: output of /proc/cpuinfo is as below : # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 26 model name : Intel(R) Xeon(R) CPU... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies

3. Solaris

How to count number of physical and virtual processors on Solaris machine.?

hi, I am using command psrinfo -p to check the number of physical processors present on any soalris machine.I want to check the number of virtual processors assigned for particular solaris machine. which command/set of command need to be used which can grep or show the total virtual processors... (8 Replies)
Discussion started by: omkar.jadhav
8 Replies

4. Solaris

Change hostID of Solaris 10 virtual/guest machine installed by Virtual Box 4.1.12 on Windows-XP host

Trying to set or modify the randomly set hostID of a Solaris 10 virtual/guest machine that I installed on a Windows-XP host machine (using Virtual Box 4.1.12). I was able to set/modify the hostname of the Solaris 10 virtual/guest machine during installation as well as via the Virtual Box... (4 Replies)
Discussion started by: Matt_VB
4 Replies

5. Programming

Understand Virtual functions Internals

I am just trying to understand the virtual fns. concept. I know that if I have a virtual fn. in a base class and its overridden fn. in derived class then based upon the address of base/derived object stored in the base class pointer the fns. will be called. In the below code I had kept... (2 Replies)
Discussion started by: rupeshkp728
2 Replies

6. AIX

Processsing Units and Virtual Processors.

Hi, on redhat linux 5.5 (IBM PPC) os, whenever I am running the command top, it is showing 8 cpu. Processing Units Property Current Pending Minimum 0.1 Assigned 0.8 Maximum 1 Virtual Processors Property Current Pending Minimum 1 Assigned 4 ... (1 Reply)
Discussion started by: manoj.solaris
1 Replies

7. UNIX for Dummies Questions & Answers

How can i understand if a Java Virtual Machine is installed on Unix??

Hello, i would like to figute out, if there is any JVM installed on my unix account. How can i figure that out?? Thanks (1 Reply)
Discussion started by: g_p
1 Replies

8. UNIX for Dummies Questions & Answers

Have to log out of a virtual terminal twice in order to exit virtual terminals

Not really a newbie, but I have a strange problem and I'm not sure how to further troubleshoot it. I have to log out of a virtual terminal by typing exit, then exit again as in: woodnt@toshiba-laptop ~ $ exit logout woodnt@toshiba-laptop ~ $ exit logout I DON'T have to do this when I'm... (1 Reply)
Discussion started by: Narnie
1 Replies

9. UNIX for Advanced & Expert Users

AIX p5 virtual processors setting

Have a p570 LPAR capped/smt set to 4 physical processors. And currently have virtual processors set to 6 which gives 12 logical processors at AIX. This is for an Oracle9i database server running 4 instances. What should virtual processors be set to? at least initially? And how to determine when... (3 Replies)
Discussion started by: guttew
3 Replies
Login or Register to Ask a Question