TopL TopM TopR
MiddleL

How to Allow Shared Processor Pool Performance Data Collection with lparstat

When using multiple LPARs on a single Power System, it can be important to understand the overall utilization of processing capability, across all LPARs in the shared processor pool. Utilization data can be viewed from the LPARs using the lparstat command. However, for this to work, the LPAR properties must be configured appropriately.

Collecting the Data
Enabling the collection of this performance data requires the setting of a configuration parameter on the HMC for the LPAR. On the HMC, there is an ‘Allow performance information collection’ checkbox on the processor configuration tab. Select this checkbox on the LPAR that you want to collect this data.

Displaying the Data
You can use the lparstat command from the AIX command line to view the data collected. For example, if the LPAR is not configured to collect shared processor pool statistics, the lparstat command will not show the ‘available physical processors in the shared pool’ (app) column in its output, as shown below:

Gibson-Code01-May24.png

On the HMC, we need to change the properties of the LPAR (in this case nim2) so that we can view the app data. To do this we click on the LPAR name from the LPAR view on the HMC, as shown below.

LPAR-Name-In-HMC.png

Once the ‘Partition Properties’ box appears, we select ‘Hardware.’ As shown in the following image, on the ‘Processors’ tab, the ‘Allow performance information collection’ box is not checked by default.

Allow-Performance-Collection.png

We check the box and then click on OK.

Allow-Performance-Collection-2.png

On the nim2 LPAR, we run the lparstat command again and we find that the app column is now displayed in the output as desired. Based on this output we can easily determine that of the 16 processors in the shared pool (psize=16), 15 processors are still available for use. Essentially, the processor pool has plenty of available CPU capacity.

Gibson-Code02-May24.png

You may also wish to refer to the following articles for other methods of monitoring shared processor pool usage:
Chris Gibson is an AIX enterprise systems engineer for Southern Cross Computer Systems. Follow him on Twitter: @cgibbo.
Popular tags:

Comments

Was it good for you, too?Join the discussion » ,but you need to login first before you make comments.

     

    Other Recent Comments

    1. Re: Easy Ways to Trace VSCSI Configuration with AIX

      No Anthony, it's not so obvious. As you see, I've removed first paths and after that I changed vscsi...

      --Andrey Klyachkin

    2. Re: Easy Ways to Trace VSCSI Configuration with AIX

      Thanks, Andrey. Your test shows that if one path is down, then its corresponding VSCSI adapter isn't...

      --Anthony English

    3. Re: Easy Ways to Trace VSCSI Configuration with AIX

      Test with rmpath/cvai:# lspath -l hdisk1 -F parentvscsi0vscsi1# lspath -l hdisk0 -F parentvscsi0vscs...

      --Andrey Klyachkin

    4. Re: IBM Reveals PowerLinux Details and Pricing

      Thanks for the tip, Bill -- much appreciated! (I must say, though, we'll have to wrangle a few Power...

      --Chris Maxcer

    5. Re: IBM Reveals PowerLinux Details and Pricing

      http://www.ibm.com/developerworks/group/tpl

      --Bill Buros

    Google Links

    Sponsored Links

    Featured Links

    MiddleR
    BottomL BottomM BottomR

    © Penton Media, Inc.