Windows 10: Mega Optimising Disk I/O for Windows Guests on KVM

Discus and support Mega Optimising Disk I/O for Windows Guests on KVM in Windows 10 Virtualization to solve the problem; Hi folks Two ways -- pass the pci device of say the SSD or whatever to your Windows Guest - then use Native file system If you can't pass the pci... Discussion in 'Windows 10 Virtualization' started by jimbo45, Mar 23, 2021.

  1. jimbo45 Win User

    Mega Optimising Disk I/O for Windows Guests on KVM


    Hi folks
    Two ways -- pass the pci device of say the SSD or whatever to your Windows Guest - then use Native file system
    If you can't pass the pci device then create a virtio disk - then before booting up change the xml for that disk to :

    <disk type="file" device="disk">
    <driver name="qemu" type="raw" cache="none" io="native"/> "This line only -- leave every thing else !!!!
    <source file="/mnt/DV2/XPVIORAW"/>
    <target dev="vdb" bus="virtio"/>
    <address type="pci" domain="0x0000" bus="0x00" slot="0x0a" function="0x0"/>
    </disk>

    The RAW and native I/O file is the key -- then on ist boot of the VM use DISKPART windows command to format the disk and assign a letter and then use any live linux distro (can be 64 bit OS for this purpose) with dd command to clone existing disk to new one if you want to use that as your Windows OS disk. the disk will be /dev/vda /dev/vdb . You can also use Macrium stand alone bootable iso provided it has the virtio drivers in it - that's why probably better to use Linux live iso for cloning.

    (If you use the GUI virtual machine manager just enable xml editing and open the XML section for the disk if you don't like virsh command line - probably better to use the GUI if you are relative beginners at this).


    Mega Optimising Disk I/O for Windows Guests on KVM [​IMG]


    For Windows 10 using Macrium to clone to RAW (Native FS) HDD


    Mega Optimising Disk I/O for Windows Guests on KVM [​IMG]


    BTW for people using XP VM's the easiest way to clone a disk is to boot any current linux iso (the bios will support 64 bit virtual OS) from WITHIN the GUEST, note you have to add the cd as a SATA cd rom on the VM -- boot it, clone your HDD,
    shut down the VM , remove the sata CD rom and the sata controller and now boot from the relevant HDD --remove the original one.

    here's the clone process of the XP virtual disks using a Fedora live iso image set as boot device from the XP VM -- doesn't matter that it's 64 bit OS. The HDD's show up as vda and vdb.


    Mega Optimising Disk I/O for Windows Guests on KVM [​IMG]


    KVM has come such a long way these days and on modern kernels it runs rings around HYPER-V (on a Non server edition of a Windows Host), VBOX and VMWare too. You can also experiment by running any Linux as a VM on whatever Windows you like and then enabling KVM to try nested VM just to "have a go with it" .

    It's 100% free as well - and really obsoleting things now like CITRIX and XEN.

    Also you don't need poor I/O pergormance any more on Windows VM's - whether or not you pass thru a whole HDD or use "Raw Native " Virtual disks.

    Cheers
    jimbo

    :)
     
    jimbo45, Mar 23, 2021
    #1
  2. IvanFrey Win User

    Windows 10 Home as KVM guest?

    I currently run Windows 7 as a KVM guest on top of Linux. Will I be able to do the same for Windows 10 Home?
     
    IvanFrey, Mar 23, 2021
    #2
  3. jimbo45 Win User
    Linux Host HYPERVISOR to Windows 10 Guests passthru (KVM)

    Hi folks
    for those using Linux Hosts and want to try out a hypervisor (built in in typical Linux distros) where you can pass thru video / usb stuff to guests - Windows 10 runs fine -- just follow steps in this link

    Running Windows 10 on Linux using KVM with VGA Passthrough s Blog

    It certainly is a lot easier and more flexible than HYPER-V and it doesn't need Windows PRO to run - so any machine with a Linux distro -- go for it.

    Cheers
    jimbo
     
    jimbo45, Mar 23, 2021
    #3
  4. Mega Optimising Disk I/O for Windows Guests on KVM

    Guest

    Hi Voytek,

    To remove the guest account from your start screen, we suggest that you try the following steps:

    • Right-click Start menu, then select Command Prompt (Admin).
    • Enable guest account first by typing net user guest /active:yes, then press
      Enter.
    • Disable guest account by typing net user guest /active:no, then press
      Enter.
    • Perform a
      clean boot in Windows.

    Let us know how it goes.

    Thank you.
     
    Angela Pun, Mar 23, 2021
    #4
Thema:

Mega Optimising Disk I/O for Windows Guests on KVM

Loading...
  1. Mega Optimising Disk I/O for Windows Guests on KVM - Similar Threads - Mega Optimising Disk

  2. KVM Hosts with newer kernels and Sound on Windows Guests - Sound fixed

    in Windows 10 Virtualization
    KVM Hosts with newer kernels and Sound on Windows Guests - Sound fixed: Hi there If you are having trouble with Sound on Windows Guests when using KVM with recent kernels then install the gst-plugins-good as libvirt changed a bit. For Arch / Manjaro : sudo pacman -S extra/gst-plugins-good (or simply sudo pacman -S gst-plugins-good) and then...
  3. window disk optimisation lopping

    in Windows 10 Installation and Upgrade
    window disk optimisation lopping: can you finaly do your job to fix the disk optimisation that does nt work ??? Shame on you to push update that are complet garbage. you will paid for my dommage ssd of constant optimisation for sure . Useless compagnie...
  4. Disk I/O throughput on VM

    in Windows 10 Virtualization
    Disk I/O throughput on VM: Hi there USB3 passport self powered HDD (not an SSD) attached via a 4 port un-powered USB 3 hub on KVM / QEMU W10 VM managed decent Macrium image backup in approx 8 mins with perfectly acceptable speed --from the screenshot you can see there's a decent amount of applications...
  5. Optimise Drives - System Hard disk drive - Unable to optimise/defragment

    in Windows 10 BSOD Crashes and Debugging
    Optimise Drives - System Hard disk drive - Unable to optimise/defragment: Is this normal or should I be concerned? I've tried SFC and DISM commands and everything seems good. Please see the attached image. [ATTACH]...
  6. W10 Very High Disk I/O

    in Windows 10 BSOD Crashes and Debugging
    W10 Very High Disk I/O: My PC runs with System close to 100% Disk I/O for an hour or two, after wake-up. (Then it drops to 40% or so.) The PC is barely usable, during that time. I find it very awkward that the operating system monopolises my PC. How can I change that?...
  7. O&o defrag not disk activity

    in Windows 10 Software and Apps
    O&o defrag not disk activity: Had anybody run into issues with using zoning/complete, where it stop defraging. Like it stalls and no disk activity for hours. Or goes to a craw. Newest version. Ran chkdsk /f Sfc scannow Ran dism repair All came back clean I just wondering it does it because it's a...
  8. Linux Host HYPERVISOR to Windows 10 Guests passthru (KVM)

    in Windows 10 Virtualization
    Linux Host HYPERVISOR to Windows 10 Guests passthru (KVM): Hi folks for those using Linux Hosts and want to try out a hypervisor (built in in typical Linux distros) where you can pass thru video / usb stuff to guests - Windows 10 runs fine -- just follow steps in this link Running Windows 10 on Linux using KVM with VGA Passthrough s...
  9. Pass Native file systems to GUEST OS's for better I/O

    in Windows 10 Virtualization
    Pass Native file systems to GUEST OS's for better I/O: Hi folks sometimes when running VM's - especially as servers (nothing wrong in using a VM as a server) you will considerably improve I/O throughput if you use the native file system for the OS instead of using Virtual HDD's. For instance if you run Windows Guests on a...
  10. Windows "optimisers"

    in Windows 10 Software and Apps
    Windows "optimisers": Are any of them any good? Ashampoo WinOptimizer for instance? 96798