AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  What does "How many cpu" means in HMC world?

    Posted Mon April 28, 2008 02:09 PM

    Originally posted by: SystemAdmin


    Hello,

    This might be a silly question but I do not undrestand what does it mean when you are asked how many cpus your server has.(AIX)
    In HMC world, is not how much cpu instead of how many? for example I have 0.2 or 1.2 cpu on Server X.

    tx


  • 2.  Re: What does "How many cpu" means in HMC world?

    Posted Mon April 28, 2008 02:44 PM

    Originally posted by: bassemir


    You can have physical CPUs, logical CPUs and virtual CPUs. I'll take a stab at explaining the difference.

    Physical CPU - this is how many physical processors are in a machine. Most folks also call the physical CPU a "core".

    With AIX one can use simultaneous multi threading (SMT) which will make each physical CPU look like two CPUs to the operating system. These are logical CPUs. So you could have a 4-way system and when you run nmon see 8 processors (with SMT enabled).

    With AIX micro-partitioning you can divide a single physical processor up into as many as 10 virtual processors. A virtual processor can be entitled to use as little as 0.1 of a physical CPU. So with a system that has 4 physical processors can be divided up into as many as 40 virtual CPUs. To the operating system these virtual processors look like a single CPU. If SMT is enabled the operating system sees two logical processors for each "virtual processor".

    commands like lsdev |grep proc will show the number or CPUs the OS thinks it has

    the lparstat command will show the number of logical CPUs (in the first line lcpu=4)

    So I guess to answer your question one needs to know what kind of CPU you are trying to count.

    Hope that was not too confusing....

    Rich


  • 3.  Re: What does "How many cpu" means in HMC world?

    Posted Mon April 28, 2008 05:10 PM

    Originally posted by: SystemAdmin


    Thank you very much. Explanation could not be better.


  • 4.  Re: What does "How many cpu" means in HMC world?

    Posted Mon April 28, 2008 02:54 PM

    Originally posted by: orphy


    Rich already gave you a very good response but if you want to know more about APV, look at this Redbook.

    http://www.redbooks.ibm.com/abstracts/sg247940.html?Open
    Orphy