Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated with additional troubleshooting information

Anchor
TOC
TOC
Include Page
KBCOMMON:KB-CSSstyle
KBCOMMON:KB-CSSstyle

...

If you see output similar to the following example from Oracle Linux, this shows services that implicitly enable CPU accounting:

/usr/lib/systemd/system/unified-monitoring-agent_config_downloader.service:CPUQuota=40%
/usr/lib/systemd/system/unified-monitoring-agent.service:CPUQuota=40%

Solution

The cause of the problem is that CPU accounting is enabled on the Linux host system.

...

  • If possible disable or remove the software that enables CPU accounting and reboot Linux before starting the emulator again.
  • If you cannot remove or disable the offending software, you can enable the following workarounds:
    • Remove the limitation on real-time scheduling:
      # sysctl -w kernel.sched_rt_runtime_us=-1 (add to sysctl.conf to make permanent).
      This introduces the risk that a run-away real-time process could starve other processes and in extreme cases, lock up the system. The default value of this parameter is 950000 (=0.95 seconds).
    • Disable CPU accounting at boot by adding the following parameter to the kernel boot line:
      cgroup_disable=cpu
      Test this during an interactive boot first. If satisfied with the result, make it permanent. For example, by using:
      # grubby --update-kernel=ALL --args="cgroup_disable=cpu".
      Please note: this setting may prevent some software packages from running that are dependent on CPU accounting.

...