Skip to main content

developerWorks >  AIX and UNIX  >  Forums  >  Performance Tools Forum  >  developerWorks

nmon showing wrong CPU clock rate    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 7 - Pages: 1 - Last Post: Nov 9, 2009 5:22 AM Last Post By: harp Threads: [ Previous | Next ]
nyuan1

Posts: 3
Registered: Jun 30, 2008 04:54:21 PM
nmon showing wrong CPU clock rate
Posted: Jun 30, 2008 05:05:15 PM
Click to report abuse...   Click to reply to this thread Reply
After upgrading one of the P570 to power6, nmon on a couple of the LPARs on the frame still reports processor as PowerPC_POWER5 and CPU clock rate at 1654 MHz. Other LPARs on the same frame are reporting the processors information correctly, though. Any idea where nmon get the processor information from? The LPARs are running at the same OS level.
Valued Contributor nagger

Posts: 1,589
Registered: Jul 27, 2005 01:02:57 PM
Re: nmon showing wrong CPU clock rate
Posted: Jul 02, 2008 05:21:55 AM   in response to: nyuan1 in response to: nyuan1's post
Click to report abuse...   Click to reply to this thread Reply
Please give us some clues to work on:

  • What AIX level ? oslevel -s
  • Which nmon versions ? nmon -v

thanks Nigel

ps: this still looks like a user error to me. How would nmon via the API get the wrong details?
nyuan1

Posts: 3
Registered: Jun 30, 2008 04:54:21 PM
Re: nmon showing wrong CPU clock rate
Posted: Jul 02, 2008 08:42:21 AM   in response to: nagger in response to: nagger's post
Click to report abuse...   Click to reply to this thread Reply
Attachment 0s0d_nmon_out.doc (82.0 KB)
Hi,

I am running nmon version 11e. OS level is 5300-06-03-0732. Please see the attached file for more information.

Thanks
Valued Contributor nagger

Posts: 1,589
Registered: Jul 27, 2005 01:02:57 PM
Re: nmon showing wrong CPU clock rate
Posted: Jul 02, 2008 11:50:49 AM   in response to: nyuan1 in response to: nyuan1's post
Click to report abuse...   Click to reply to this thread Reply
Thanks for the information and quick too.

Of course, the output is completely impossible :-)
No seriously.
All I can think of is that the AIX kernel has cached the processor details and resupplying them. This suggests you just moved the disks from the 1.65MHz machine to the new POWER6 one without all that tedious reloading and mucking about with mksysb etc? Is that right?
Was the LPAR reporting the correct Hz a fresh install?

Can you run the "cpus" (note the "s") program from the sample code AIX Wiki page at
http://www-941.ibm.com/collaboration/wiki/display/WikiPtype/ryo
which outputs the CPU frequency in exactly the same way as nmon.
It is output on the first line.

This may duplicate the problem - in which case it can be reported to AIX Support for a fix.

The problem is that the AIX API is telling nmon the wrong details - not much nmon can do about it?

Ideas welcome, Nigel
nyuan1

Posts: 3
Registered: Jun 30, 2008 04:54:21 PM
Re: nmon showing wrong CPU clock rate
Posted: Jul 02, 2008 07:59:48 PM   in response to: nagger in response to: nagger's post
Click to report abuse...   Click to reply to this thread Reply
You are right. The "cpus" program is reporting the same wrong information. We upgraded from power5 to power6 sometime ago. There were over 10 LPARs on this P570, but this problem only happened on 3 of the LPARs. None of the LPARs had to be reimaged as their OS disks were in the IO drawers. But of course, we had to shutdown the frame for the upgrade. So I don't understand how the information are still cached in. Will you let me know which API I should refer to if I call IBM for support? Thanks.
Valued Contributor nagger

Posts: 1,589
Registered: Jul 27, 2005 01:02:57 PM
Re: nmon showing wrong CPU clock rate
Posted: Jul 04, 2008 11:18:37 AM   in response to: nyuan1 in response to: nyuan1's post
Click to report abuse...   Click to reply to this thread Reply
Refer support to the same website and they have the complete source code.
This will highlight exactly the API and they can read it and run it to show the problem.

My guess this is in the ODM.

let us know if they tell you hw to get it accurate - there are probable 100's of machines like this now and the number is growing rapidly.

thanks Nigel
RouxTheDay

Posts: 16
Registered: May 01, 2006 04:41:18 PM
Re: nmon showing wrong CPU clock rate
Posted: Jul 30, 2008 06:34:23 PM   in response to: nagger in response to: nagger's post
Click to report abuse...   Click to reply to this thread Reply
It's definitely stored/cached in the ODM, but I have no clue if/when it would be changed... I've never tried an ODM cleanup on processor devices. It might be as simple as deleting a few entries and rebooting...

Example:

CuAt:
name = "proc0"
attribute = "type"
value = "PowerPC_POWER5"
type = "R"
generic = "D"
rep = "sl"
nls_index = 49

CuAt:
name = "proc0"
attribute = "frequency"
value = "1654344000"
type = "R"
generic = "D"
rep = "s"
nls_index = 69

Of course, that example actually comes from a 1.65 GHz / POWER5 box... Wink

Cheers!

-Chris
harp

Posts: 1
Registered: Nov 09, 2009 05:17:44 AM
Re: nmon showing wrong CPU clock rate
Posted: Nov 09, 2009 05:22:24 AM   in response to: nyuan1 in response to: nyuan1's post
Click to report abuse...   Click to reply to this thread Reply
Remove all defined processors that you have from AIX, Defined old type processor are confusing nmon cpu statistics.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums