Solved

CPU usage

Posted on 2013-06-12
4
677 Views
Last Modified: 2013-06-13
Hi -

We have a IBM AIX server using LPAR. This has 9 physical cpus (entitled) and 80 logical cpus. The logical CPU % of Utilization is never matching with the physical cpu utilization. When Physical CPU maxed out the logical CPU still showing only 30% of usage.

Please find the attached excel sheet for more details.

IF you look at the LPAR tab in the given excel, when the entitled cpu usage maxed out, the logical and physical should report the same % of CPU utilization.

Thanks!

Sve.
Book15.zip
0
Comment
Question by:sventhan
  • 2
  • 2
4 Comments
 
LVL 61

Expert Comment

by:gheist
Comment Utility
Aix server model please...
uname -r
And explain what problem you are trying to solve.

 physical CPU is hared between virtual CPUs, and virtual one is waiting for IO while rest of
physical CPU power is used by other virtual CPUs. the numbers will never add up

Please unzip document yourself, i am not good at peeling onions.
0
 
LVL 18

Author Comment

by:sventhan
Comment Utility
Thanks for your time. I've peeled the onion for you.

The Question is,

How 1 Physical CPU match with the X logical CPU?  How this is getting configured?

When all the CPUs being used , PCPU = 100% why lcpu is only 30%?

What is the ratio between these 2 cpus?

Thanks,
sve.
Book15.xlsx
0
 
LVL 61

Accepted Solution

by:
gheist earned 500 total points
Comment Utility
100/30 - ratio is 333,3%

Pardon - but what PROBLEM you are trying to solve?

100% PCPU = 100% LCPU
LCPU usage can be less because:
VCPU is guaranteed num_pcpus/num_vcpus of cpu time (in your case - 9/80=0.113=11,3% of a single CPU)
If one does nothing (or waits for slow network IO) other VCPUs can use spare time
If enough of them do nothing system can save power by halting and slowing down unused PCPUs.

Remember that not all workloads are calculations on CPU.
Database would wait a lot for disk IO
While webserver will wait for network io
Or websphere will spend huge amounts of time blocking and synchronizing threads
All three showing as "wait" and/or "idle" in topas
0
 
LVL 18

Author Closing Comment

by:sventhan
Comment Utility
Thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now