如题,硬件为 13500+64g d4+980pro(1t 已用 60%左右),linux(unraid)下虚拟化 win(server2022)
宿主机 fs 是启用了内存缓存的 zfs ,虚拟机 fs 是普通 ntfs
目前 kvm 的虚拟磁盘配置是:
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source file='/mnt/cache/domains/Windows server2022/vdisk1.img' index='3'/>
<backingStore/>
<target dev='hdc' bus='virtio'/>
<serial>vdisk1</serial>
<boot order='1'/>
<alias name='virtio-disk2'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
虚拟机下运行 mcbe 服务端明显感觉卡卡的(docker 环境没有类似情况),将 disk cache 改成 writeback 对于顺序读写有 30%的提升(3000->4000),但整体改善不明显。
在不另外购置 ssd 直通给它的情况下,求优化 io 的方法!
宿主机 fs 是启用了内存缓存的 zfs ,虚拟机 fs 是普通 ntfs
目前 kvm 的虚拟磁盘配置是:
<disk type='file' device='disk'>
<driver name='qemu' type='raw' cache='writeback'/>
<source file='/mnt/cache/domains/Windows server2022/vdisk1.img' index='3'/>
<backingStore/>
<target dev='hdc' bus='virtio'/>
<serial>vdisk1</serial>
<boot order='1'/>
<alias name='virtio-disk2'/>
<address type='pci' domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
</disk>
虚拟机下运行 mcbe 服务端明显感觉卡卡的(docker 环境没有类似情况),将 disk cache 改成 writeback 对于顺序读写有 30%的提升(3000->4000),但整体改善不明显。
在不另外购置 ssd 直通给它的情况下,求优化 io 的方法!