Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-5930

JMC should report CPU usage based on the CPU quota rather then on number of CPUs the host machine has

    XMLWordPrintable

Details

    Description

      JMC should report CPU utilization for Java process running inside a Docker container based on the CPU quote set to the container. Currently the usage is reported based on the total number of CPUs the host machine has.

      For example, in case if the host machine has 8 CPUs and the Java process that fully utilizes CPUs and runs inside a Docker container with CPU quote set to 2 CPUs ( --cpus="2"), the CPU usage reported by JMC connected to this process is 25% . The expected CPU usage reported by JMC should be 100%, since the process consumes all CPU resources available for the Docker container it runs in.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dtitov Daniil Titov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: