blob: 97f5a7ffc989653d7baae5f5b577a5f898c5122d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
id = 1018
title = "virtio-scsi-pci with iothread results in 100% CPU in qemu 7.0.0"
state = "opened"
created_at = "2022-05-09T12:36:33.830Z"
closed_at = "n/a"
labels = ["Storage", "device:virtio"]
url = "https://gitlab.com/qemu-project/qemu/-/issues/1018"
host-os = "Gentoo"
host-arch = "x86"
qemu-version = "7.0.0"
guest-os = "Kubuntu 22.04"
guest-arch = "x86"
description = """Top reports constant 100% host CPU usage by `qemu-system-x86`. I have narrowed the issue down to the following section of the config:
```
-object iothread,id=t0 \\
-device virtio-scsi-pci,iothread=t0,num_queues=4 \\
```
If this is replaced by
```
-device virtio-scsi-pci \\
```
Then CPU usage is normal (near 0%).
This problem doesn't appear with qemu 6.2.0 where CPU usage is near 0% even with iothread in the qemu options."""
reproduce = """1. Download Kubuntu 22.04 LTS ISO (https://cdimage.ubuntu.com/kubuntu/releases/22.04/release/kubuntu-22.04-desktop-amd64.iso),
2. Create a root virtual drive for the guest with 'qemu-img create -f qcow2 -o cluster_size=4k kubuntu.img 256G',
3. Start the guest with the config given above,
4. Connect to the guest (using spicy for example, password 'p'), select "try kubuntu" in grub menu AND later in the GUI, let it boot to plasma desktop, monitor host CPU usage using 'top'.
(there could be a faster way to reproduce it)"""
additional = """"""
|