XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    vCPU overcommitment stats

    Scheduled Pinned Locked Moved Compute
    8 Posts 3 Posters 705 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jmaraJ Offline
      jmara
      last edited by

      Hi,

      I'm trying to get some metrics and info about CPU overcommitment and if there are hosts in my cluster which are fairly unbalanced (not in a configuration kind of way, but where vms fighting to get CPU time).

      I've read that other Hypervisors show this kind of data as "CPU ready" counter and that the Xen equivalent should be "runstate_full_contention" (Fraction of time that all vCPUs are runnable (that is, waiting for CPU)). Sadly this counter does not seem to move in my xen center and the netdata plugin does not track the value.

      Does anyone have more info around that topic? 🙂

      Cheers,
      Jan

      1 Reply Last reply Reply Quote 0
      • splastunovS Offline
        splastunov
        last edited by

        I think you can use the steal metric from netdata.
        In my practice I use zabbix and track the cpu jumps metric.

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Online
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          @jmara said in vCPU overcommitment stats:

          runstate_full_contention

          This should be the right data 🤔

          jmaraJ 1 Reply Last reply Reply Quote 0
          • jmaraJ Offline
            jmara @olivierlambert
            last edited by

            @olivierlambert yeah i thought so too 😄 is there any way to visualize this in XOA/netdata?

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Online
              olivierlambert Vates 🪐 Co-Founder CEO
              last edited by

              I don't think we fetch this one, and Netdata doesn't parse XAPI RRD (the source of XCP metrics used in XenCenter/XO).

              To me, that might be a bug. Are you sure about generating enough over-commitment to trigger that metric?

              jmaraJ 1 Reply Last reply Reply Quote 0
              • jmaraJ Offline
                jmara @olivierlambert
                last edited by

                @olivierlambert I'll check later this afternoon, as the loads keeps increasing through the day and let you know if the counter moves.

                Should I file a feature request for XOA as support ticket to get the counter into the stats section? Might be an interesting counter for others as well.

                1 Reply Last reply Reply Quote 0
                • olivierlambertO Online
                  olivierlambert Vates 🪐 Co-Founder CEO
                  last edited by

                  XO 6 will provide an UI to choose which metric to display, so I don't think we'll add a deep change like this in the existing XO 5 design.

                  However, you can create an issue explaining you'd like to get more stats visible, yes 🙂

                  jmaraJ 1 Reply Last reply Reply Quote 0
                  • jmaraJ Offline
                    jmara @olivierlambert
                    last edited by

                    @olivierlambert ah good to know 😄 thats fine I'll take a look at the metrics maybe I'll write a small rrd stats pusher script as an interim solution for my usecase 🙂 until XO6 is available.

                    Thanks for letting me know 🙂

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post