Friday, June 10, 2016

qclib v1.2.0 released

New version qclib v1.2.0 was released on IBM developerWorks here.
Among others, this version adds additional counts for KVM hosts and guests as follows:
  • For KVM hosts: Counts for CPs, IFLs and CPUs (sum of CPs and IFLs)
  • For KVM guests: CP and IFL counts
Below is some (edited) output of the sample program qc_test (part of the library), highlighting the new attributes for a KVM host with 4 IFLs and a guest with 2 virtual IFLs. See the README for documentation and further details.
        ===== Layer 3: KVM-hypervisor ==========================
                 qc_layer_type [n/a]: KVM-hypervisor
             qc_layer_category [n/a]: HOST
             qc_layer_type_num [n/a]: 6
         qc_layer_category_num [n/a]: 2
         qc_control_program_id [S  ]: KVM/Linux
                 qc_adjustment [S  ]: 1000

              qc_num_cpu_total [  V]: 4
          qc_num_cpu_dedicated [SHV]: 0
             qc_num_cpu_shared [SHV]: 4
               qc_num_cp_total [ HV]: 0
           qc_num_cp_dedicated [ hV]: 0
              qc_num_cp_shared [ hV]: 0
              qc_num_ifl_total [SHV]: 4
          qc_num_ifl_dedicated [ShV]: 0
             qc_num_ifl_shared [ShV]: 4

        ===================================================

          ===== Layer 4: KVM-guest
    ==========================
                   qc_layer_type [n/a]: KVM-guest
               qc_layer_category [n/a]: GUEST
               qc_layer_type_num [n/a]: 7
           qc_layer_category_num [n/a]: 1
                   qc_layer_name [S  ]: u1604
          qc_layer_extended_name [S  ]: u1604
                   qc_layer_uuid [S  ]: 407d134c-7d93-4a7b-bd27-4568ef10e85a

                qc_num_cpu_total [S  ]: 2
           qc_num_cpu_configured [S  ]: 2
              qc_num_cpu_standby [S  ]: 0
             qc_num_cpu_reserved [S  ]: 0
            qc_num_cpu_dedicated [S  ]: 0
               qc_num_cpu_shared [S  ]: 2
                qc_num_ifl_total [S  ]: 2
            qc_num_ifl_dedicated [S  ]: 0
               qc_num_ifl_shared [S  ]: 2
            qc_ifl_dispatch_type [SHV]: 3

         
    ===================================================

    qclib is a C library providing access to system information on the various layers of virtualization on z Systems.

    No comments:

    Post a Comment