AIX

AIX

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


#Power
#Power
 View Only
Expand all | Collapse all

ilcs on only LPAR in pool

  • 1.  ilcs on only LPAR in pool

    Posted Fri September 29, 2023 03:33 AM

    Good morning,

    Does anyone know ilcs can be non-zero on a single LPAR in a pool? It never gets close to maxing out the pool.

    Also, how harmful is high vlcs numbers to performance, I can't specifically find anyone saying it's bad.

    Regards,

    Henrik Morsing



    ------------------------------
    Henrik Morsing
    ------------------------------


  • 2.  RE: ilcs on only LPAR in pool

    Posted Mon October 02, 2023 08:14 AM

    Can you give us a few clues:

     

    What OS is the LPAR running?


    Which tool are you getting ilcs from?

     

    What Hardware? P7 P8 P9 P10

     

    That Model? Like S1024

     

    Which OS(s) are you using?

     

    Sent from Mail for Windows

     






  • 3.  RE: ilcs on only LPAR in pool

    Posted Mon October 02, 2023 08:37 AM

    Henrik,

    if you have single LPAR in the pool then this partition can take free cpu cycles only from reserved capacity (if set up) or from partitions outside the pool (sharing CPU is done on two levels -> inside a pool, and global to the server). Imho it's perfectly normal that your partition can use all of it's cycles and hypervisor need to schedule them to other lpars. In case of high load it will cause visible ilcs stats. Max pool size is just limit. It does not guarantee you that your lpar will get any cycles. 

    vlcs - voluntary logical processor context switches - means partition has nothing useful to do and cedes cycles to hypervisor. In that case hard to say about performance impact. The only risk I can see is "bursting workload" when you have periods of high load and periods of idle system. LPAR cedes cycles to cpu but when it needs them to cover high load period it will get them with delay. I would say it's not typical type of workload. 



    ------------------------------
    Jakub Pacowski
    ------------------------------



  • 4.  RE: ilcs on only LPAR in pool

    Posted Mon October 02, 2023 09:06 AM

    Hi Jakub,

    Are you saying another pool can consume cycles from this pool, and kick off an LPAR in this pool? I don't think that's right.

    Also, the LPAR here is not even close to hitting the limit in its pool.

    Regard,

    Henrik Morsing



    ------------------------------
    Henrik Morsing
    ------------------------------



  • 5.  RE: ilcs on only LPAR in pool

    Posted Mon October 02, 2023 09:37 AM

    From: https://www.redbooks.ibm.com/redbooks/pdfs/sg248535.pdf page 83

    "Levels of processor capacity resolution
    Two levels of processor capacity resolution are implemented by the PHYP and multiple
    shared processor pools (MSPP):
    Level0 The first level, Level0 , is the resolution of capacity within the same
    SPP. Unused processor cycles from within an SPP are harvested and
    then redistributed to any eligible micro-partition within the same SPP.
    Level1 When all Level 0 capacities are resolved within the MSPP, the
    hypervisor harvests unused processor cycles and redistributes them
    to eligible micro-partitions regardless of the MSPP structure. Level 1 is
    the second level of processor capacity resolution" 

    LPAR has to cede unused cycles (vlcs) to allow other partitions to use it, if it is below desired processing unit limit (guaranteed CPU).

    Above desired processing unit value lpars will compete for the cycles and hypervisor can "steal" the cpu for other partitions (ilcs).

    Max pool size is just limit of cpu in the pool. Nothing more. 



    ------------------------------
    Jakub Pacowski
    ------------------------------



  • 6.  RE: ilcs on only LPAR in pool

    Posted Mon October 02, 2023 09:57 AM

    Thanks Jakub,

    That is very interesting!

    Regards,

    Henrik Morsing



    ------------------------------
    Henrik Morsing
    ------------------------------



  • 7.  RE: ilcs on only LPAR in pool

    Posted Wed October 04, 2023 04:33 PM

    Hi Henrik,

    Coincidentally we had Earl working with us earlier this week and I read your question to him - he said go look at the IBM Virtual User Group presentation from October 6, 2022.

    My question (from spending time with Earl and hearing this point) - are you running over entitlement?  That topic as regards ilcs is covered in that presentation.

    Best regards,



    ------------------------------
    Dave Nordgren
    ------------------------------



  • 8.  RE: ilcs on only LPAR in pool

    Posted Mon October 02, 2023 09:04 AM
    Edited by Henrik Morsing Mon October 02, 2023 09:37 AM

    Hi Nigel,

    • AIX (I thought these numbers were only available in AIX, it would be awesome to get them in Linux, if there is a way)
    • mpstat
    • POWER 9
    • 9080-M9S

    Regards,

    Henrik Morsing



    ------------------------------
    Henrik Morsing
    ------------------------------



  • 9.  RE: ilcs on only LPAR in pool

    Posted Mon October 02, 2023 09:39 AM

    Henrik, do you have the presentations on Performance monitoring and analysis by Earl Jew? I suspect his perspectives on this topic would be invaluable to you.



    ------------------------------
    Mackey Morgan
    ------------------------------



  • 10.  RE: ilcs on only LPAR in pool

    Posted Mon October 02, 2023 09:57 AM

    Hi Mackey,

    I do, and I do not believe he mentions it.

    Regards,

    Henrik Morsing



    ------------------------------
    Henrik Morsing
    ------------------------------