Skip to content

HIGH CPU usage of qemu-system-x86 #1964

@adaholycs

Description

@adaholycs

Describe the bug
Since today the CPU of my VMs each is raging between 100% and 200%

To Reproduce

  1. multipass launch -c 2 --disk 24G --mem 4G --name relay 18.04
  2. I experience on two independent maschines the same behavior

Expected behavior
Since the VMs just started and no process is launched on the VM which requires high CPU, I expect very low CPU usage when monitoring the VMs. This was the behavior in the past month.

Logs
ps aux | grep qemu-system-x86
root 3627 60.2 7.3 8299992 1200044 ? Sl 17:51 29:41 /snap/multipass/3387/usr/bin/qemu-system-x86_64 --enable-kvm -device virtio-scsi-pci,id=scsi0 -drive file=/var/snap/multipass/common/data/multipassd/vault/instances/relay/ubuntu-18.04-server-cloudimg-amd64.img,if=none,format=qcow2,discard=unmap,id=hda -device scsi-hd,drive=hda,bus=scsi0.0 -smp 2 -m 4096M -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:9f:4c:31 -netdev tap,id=hostnet0,ifname=tap-643df183fe0,script=no,downscript=no -qmp stdio -cpu host -chardev null,id=char0 -serial chardev:char0 -nographic -cdrom /var/snap/multipass/common/data/multipassd/vault/instances/relay/cloud-init-config.iso

Additional info

  • multipass version
    multipass 1.6.1
    multipassd 1.6.1
  • multipass info --all
    Name: relay
    State: Running
    IPv4: 10.52.196.75
    Release: Ubuntu 18.04.5 LTS
    Image hash: 04a92109979d (Ubuntu 18.04 LTS)
    Load: 1.92 0.78 0.29
    Disk usage: 21.0G out of 24.1G
    Memory usage: 102.8M out of 3.9G

I am happy to provide more logs, if you have a clue what can cause this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bughighHigh priority. Combine with "medium" to signal intermediate medium-high priority.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions