AIX

AIX

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

 View Only
Expand all | Collapse all

vmstat vs nmon CPU usage different

  • 1.  vmstat vs nmon CPU usage different

    Posted Wed August 22, 2007 04:32 AM

    Originally posted by: SystemAdmin


    Hi,

    One of outsourcing customer is suffering from high cpu usage when using ps command.

    Customer is using ps many times to monitor the system. And CPU usage is very important factor for outsourcing customer because of CPU usage-based billing issue.

    So, customer drives us strongly.

    While monitoring with nmon, ps use 58.8% of ONE CPU at 11:45:13 as the below picture. (top process)
    From the vmstat output at the same time, it shows 58% of total CPU. It means it is using about 4.8 CPUs.

    The system has 8 logical CPUs which are consisted of 2 physical CPUs.

    The gap is very big between nmon and vmstat. Do you have any idea how do I explain the gap to the client?


  • 2.  Re: vmstat vs nmon CPU usage different

    Posted Wed August 22, 2007 09:13 AM

    Originally posted by: bassemir


    Is this customer using micro partitions? I am wondering if this LPAR was defined to have 4 virtual CPUs (which would appear as 8 logical CPUs when using SMT). If using micro partitions then one has to be careful how they interpret CPU utilization. I believe Nigel (nmon guru) talks about this in the nmon documentation.

    Rich


  • 3.  Qustion also on the Performance Tools Forum

    Posted Fri August 24, 2007 11:16 AM

    Originally posted by: nagger


    See the answer in that Forum