View previous topic :: View next topic |
Author |
Message |
Wadewilson n00b
Joined: 09 Nov 2022 Posts: 54
|
Posted: Sat Jul 27, 2024 10:36 am Post subject: Window VM with disk partition passthrough having issues |
|
|
I have created a win 11 vm on gentoo linux host.
I have passed through a disk partition from HDD to the VM using virtio drivers.
Disk is always at a 100% in the VM, and opening file manager takes more than 10 mins. The VM is very unresponsive. This is very unusual performance for virtio drivers on HDD.
Disk layout on the host,
NVME - linux host
HDD Part 1 - linux host
HDD Part 2 - win 11 vm (using virtio and installed the relevant drivers on windows)
How do I fix this?
Code: |
<disk type='block' device='disk'>
<driver name='qemu' type='raw' cache='none'/>
<source dev='/dev/disk/by-partuuid/9303a54f-de85-49d3-a3ba-9da8397120c7'/>
<target dev='vdb' bus='virtio'/>
<boot order='1'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
|
Attaching the full xml here |
|
Back to top |
|
|
Zucca Moderator
Joined: 14 Jun 2007 Posts: 3695 Location: Rasi, Finland
|
Posted: Wed Aug 07, 2024 5:36 pm Post subject: |
|
|
I think Windows 11 expects an SSD as a OS drive, so that might be problem.
Also just by guessing Code: | <driver name='qemu' type='raw' cache='none'/> | ... is propably why it's slow. By enabling cache you might get better performance, especially on HDD. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
|
|