LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   Processing Units and Virtual Processors (https://www.linuxquestions.org/questions/aix-43/processing-units-and-virtual-processors-901519/)

manoj.linux 09-07-2011 12:30 AM

Processing 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
Maximum 4


would little bit confused between processing units and virtual processor.

I have assigned 0.8 single cpu , but it is showing 8 vcpu, by pressing 1 , using top command.

Please suggest.

AlucardZero 09-07-2011 05:27 PM

On what hardware?

I think you're assigning 4 cores which have 2 threads each = 8 vcpu.

manoj.linux 09-08-2011 02:02 AM

Quote:

Originally Posted by AlucardZero (Post 4464309)
On what hardware?

I think you're assigning 4 cores which have 2 threads each = 8 vcpu.

Hardware Platform is Power 6. with Phuysical 2 Processors with 2 core each processor.

but I would like to know, if I would like to see Singel cpu while using top command by pressing 1 button? is it possible.

because I have assigned 0.8 Processing units, and it is showing 8 vcpu.

AlucardZero 09-08-2011 07:19 AM

Quote:

Originally Posted by manoj.linux (Post 4464905)
because I have assigned 0.8 Processing units, and it is showing 8 vcpu.

So? You have assigned 4 Virtual Processors. This is the setting that controls how many vcpu you see on the LPAR.

I don't know how to track Processing Units on RHEL/PPC. On AIX it's running "nmon" then pressing 'c'.

0rphu 09-23-2011 06:10 AM

Hi,

I don't know how things work on Linux, because I only work with AIX where the situation would be the following:

0.8 processing units (the computational power or processing time, so to speak) are divided between 4 virtual CPUs (each has a computational power of 0.2 CPU). Furthermore, the Power5 and Power6 CPUs support 2-way simultaneous multi-threading which means parallel execution of two threads per (virtual) CPU thus creating another level of processor abstraction - the logical CPU. In our case we would have 8 logical CPUs.

In AIX the simultaneous multi-threading (SMT) is controlled by smtctl command, in RHEL the SMT can also be controlled, but requires installation of powerpc-utils (so I've read).

Hope this helps


All times are GMT -5. The time now is 03:58 PM.