You are not logged in.

#1 2018-04-10 08:16:25

Wedge
Member
Registered: 2018-01-06
Posts: 8

(QEMU) Very low HDD performance in Windows 10

Hello. I'm using plain qemu-headless for running VM with Windows 10. I'm passthough physical ethernet adapter, graphics adapter and HDD to VM.
But HDD performance in VM is very low (100% utilization with less than 1 MB/s speed).
Also qemu-system-x86 process have 100% (sometimes - 200%) CPU loading.
I turned off indexing and swap file in Windows, but nothing was changed.

My VM config (I have pair of 4-core CPU):

type="system-x86_64"

args=" \
-vga none \
-drive file=/dev/disk/by-id/ata-ST500DM002-1BD142_W3T506DV,if=virtio,format=raw \
-cpu host,kvm=off,hv_vendor_id=123456789ab \
-machine type=q35,accel=kvm \
-drive if=pflash,format=raw,readonly,file=/usr/share/ovmf/x64/OVMF_CODE.fd \
-drive if=pflash,format=raw,file=/usr/share/ovmf/x64/OVMF_VARS_WIN10.fd \
-smp 8,sockets=2,cores=4,threads=1 \
-net none \
-m 16G \
-enable-kvm \
-device piix3-usb-uhci,id=usb0,addr=0x4 \
--device usb-host,vendorid=0x09da,productid=0x9090 \
-device piix3-usb-uhci,id=usb1,addr=0x5 \
--device usb-host,vendorid=0x0603,productid=0x00f2 \
-device vfio-pci,host=05:00.00 \
-device vfio-pci,host=02:00.1 \
-device vfio-pci,host=02:00.0 \
-monitor telnet:localhost:7111,server,nowait,nodelay \
"

haltcmd="echo 'system_powerdown' | nc localhost 7111"

I tried set
-drive file=/dev/disk/by-id/ata-ST500DM002-1BD142_W3T506DV,if=virtio,format=raw,cache=none
but it has not effect.
What could be the problem?

Last edited by Wedge (2018-04-10 17:24:38)

Offline

Board footer

Powered by FluxBB