AIX

 View Only
Expand all | Collapse all

Performance of perfstat_process function on AIX 7.1

  • 1.  Performance of perfstat_process function on AIX 7.1

    Posted Fri October 29, 2021 03:16 AM

    Hi

    We are using following example code https://www.ibm.com/docs/en/aix/7.2?topic=interfaces-perfstat-process-util-interface to get metrics for all processes on AIX host.

    It turned out that this code works as expected on AIX 7.2 TL 4, but on AIX 7.1 the code takes significant time to complete (for example around 13 seconds, if there is 1000 processes) .

    The most of the time is spent in perfstat_process function.

    I suspect that this behavior is related to issue https://www.ibm.com/support/pages/apar/IV80138 , which was fixed in AIX 7.2 , but not in AIX 7.1

    1. Do you know, if this perfstat_process performance issue is caused by IV80138 ? Or maybe by other issue?
    2. Is there any workaround for this issue in 7.1?
    Thanks,

    Robert


  • 2.  RE: Performance of perfstat_process function on AIX 7.1

    Posted Thu December 02, 2021 01:05 PM
    Hello Robert,

    We have discussed this APAR with our performance tools developers. They confirm that this issue DOES exist in AIX 7.1
    Changes are in lots of files, and will require complete cycles of testing which makes it a very complex design enhancement.
    So this is why the APAR was dropped in development releases, but will not be backported to AIX 7.1


    Best Regards,
    Mano M.
    IBM AIX Support

    ------------------------------
    Mano Matta
    ------------------------------