Windows 10: VM - run on SSD or Spinner?

Discus and support VM - run on SSD or Spinner? in Windows 10 Virtualization to solve the problem; There were a couple of comments about defining the actual disk as SSD to the guest. Hyper-V is a type 1 hypervisor so it isn't relevant but both VBox... Discussion in 'Windows 10 Virtualization' started by nkaufman, Feb 8, 2017.

  1. DavidY Win User

    VM - run on SSD or Spinner?


    My theory was that by telling Windows in the Guest that it's running on an SSD, it wouldn't try to defrag it in the same way as if the Guest thought it was running on a 'spinner'? I admit I don't really know how that aspect works though.
     
    DavidY, Feb 12, 2017
    #31
  2. lx07 Win User

    No. It doesn't work like that.
     
  3. jimbo45 Win User
    Hi there

    @lx07

    Normally (assuming Windows Host with Linux Guest) the Windows system will manage the I/O for the GUEST so each time the GUEST wants to do an I/O the Windows HOST (running the VM program in this case VMware workstation etc) will intercept the GUEST's I/O request and then translate it into something Windows can do - translate to NTFS for example and then do writes or reads to the Windows Virtual Disks.

    That's why for a lot of cases it's far better to pass RAW (un-initialized) Disks to the GUEST (in Windows mark them as offline) if you have complete HDD's available -- especially useful if your GUEST is running as a media or file server.

    That way the VM will use NATIVE I/O which - given modern kernels will be far superior with Guest Linux VM's than intercepting and translating say an EXT4 file I/O request into a Windows NTFS one and writing it to a Windows Virtual Disk (vdmk etc).

    You can speed up Linux guest I/O's humungously from Windows Hosts especially using VMWARE products -- clear the HDD's out -- on windows DISKPART, CLEAN and then format the clean RAW HDD's in your Linux guest and use mdadm as software RAID on the Guest.

    Ensure HDD's OFFLINE to Windows and in the VMware VM config set HDD's as physical discs.

    Cheers
    jimbo
     
    jimbo45, Feb 13, 2017
    #33
  4. LEE
    Lee Win User

    VM - run on SSD or Spinner?

    The only thing I can say after reading all the post for this thread is my windows 7 VM runs very well (no problems, and quite fast on the ssd that also contains the OS for the computer.
     
  5. jimbo45 Win User
    Hi there
    @Lee

    It depends of course on what you actually USE the VM('s) for and whether you use the HOST significantly or not.

    About the only time I use the main Windows 10 Pro HOST is for Ms Office which still IMO has no serious competitor anywhere - especially if you want a decent email package included in the mix - other types of "webmail services" IMO are hideous and often have problems if you have several accounts - and several email servers e,g work, home, your own domain etc etc.

    I run a Linux VM server as a NAS box for basic file serving /backups/ multimedia (PLEX / BOSE / SQUEEZEBOX) which work absolutely fine with 4 HDD's as 2 RAID 0 arrays of 9TB and 7TB each.

    I also run an XP (modified W2K3 server) VM for a small business (mine) -- creating VINYL recordings for people from CD's or their own music files. The hardware cutting system is old and will only run on XP -- still works fine so I don't need to spend loads of dosh on a new system (these days probably 50 grand (EUR / USD).

    My W10 system runs from an SSD, and I boot up the Linux VM's from an internal Micro SD card - the Linux Vm's are pretty well 100% in RAM so once booted there's almost ZERO I/O (from the OS) - so putting it on to the SSD is essentially a bit of a waste in my case. The server VM very rarely ever gets booted so boot time from the Micro SD card is not an issue. 64GB Micro SD card comfortably holds the OS for both CENTOS 7 and XP VM's

    I can't say any of the clients (up to 6 at a time) have had any problems with running streamed video / audio from the server or accessing shared files.

    @cereberus -- vmware workstation allows VM's to run in BATCH if you want I.e it's almost a "vmserver".

    As for I/O as I've said in previous posts if you can use entire HDD's (spinners) for the VM - use in RAW mode which will speed up I/O considerably -- especially on Linux systems as Windows doesn't need to intercept the Linux file system I/O and translate it to vdmk format before performing the write. The linux system will manage it's own I/O.

    Just share those disks with Windows by using SAMBA. My XP VM shares the HDD's with the linux VM as well for data files. Data transfer is via CIFS (previously called smbfs and is now much faster) and works very well over networks whether hard wired or accessed via wifi. For a client accessing media streams a decent 1080p video stream will work fine on wifi - you only need to get an average of around 12 Mib/s (megaBITS) to service the video - I think with a 5GHZ wifi you can actually get about 50 Mb(BYTES) / sec. On a Lan - no probs whatsoever.

    There's a lot of myths about I/O on VM's -- as always it depends on what you want your VM's to do - but if using regularly with several clients accessing them then using Native I/O will always be better than letting the vmware or hyper-V hypervisor handle it.

    Of course if people are running from laptops etc then it probably does make sense to run the whole kybosh from SSD's --it 100% depends on what you use HOST and VM's for of course.

    Cheers
    jimbo
     
    jimbo45, Feb 21, 2017
    #35
  6. LEE
    Lee Win User
    Thank you Jimbo for all the interesting information. I would like to run a Linus Distro, however I still haven't figured out why I can't get sound. Will figure it out evidently. . .*Smile. . .It can't be as hard as it was setting up an OS X VM. . .talk about a brain twister. . .*Eek, but got it up and working great. . .*Wink
     
Thema:

VM - run on SSD or Spinner?

Loading...
  1. VM - run on SSD or Spinner? - Similar Threads - run SSD Spinner

  2. The Restart loading spinner disappeared !

    in Windows 10 Gaming
    The Restart loading spinner disappeared !: - i have a problem with the animated loading logo or the loading spinner when the windows restart or shut down, it gone after i did some cmd commands because i was trying to fixing the windows antivirus turned off , and those is the commands that i typed : reg delete...
  3. The Restart loading spinner disappeared !

    in Windows 10 Software and Apps
    The Restart loading spinner disappeared !: - i have a problem with the animated loading logo or the loading spinner when the windows restart or shut down, it gone after i did some cmd commands because i was trying to fixing the windows antivirus turned off , and those is the commands that i typed : reg delete...
  4. Spinner in People

    in Windows 10 Software and Apps
    Spinner in People: Sorry. Answered my own question by logging in with MS account, then logging back in with local. Can't seem to find out how to delete a thread I started that has no replies yet. 180643
  5. Will Windows run slowly if in a VM?

    in Windows 10 Virtualization
    Will Windows run slowly if in a VM?: Hey, so I was thinking about switching my main OS to Ubuntu so I could get my foot in the door with linux and start experimenting around with it a bunch. However, I know if I do that a lot of games will be unavailable to me because they require Windows. That being said, I was...
  6. Non SSD's (Spinners) and Bit rot

    in Windows 10 Drivers and Hardware
    Non SSD's (Spinners) and Bit rot: Hi folks I've seen it mentioned on a few 'Nix Forums but never on Windows - but with say older HDD's (spinners) are they liable to Bit Rot. The reason I'm asking this is that on discussions of various file systems it appears that some of the newer file systems are resilient...
  7. Rogue DHCP Server is running in a VM

    in Windows 10 Network and Sharing
    Rogue DHCP Server is running in a VM: I am experiencing a problem where Fing is reporting more than 1DHCP server. When I run ipconfig /all it reports that the DHCP server is 192.168.58.254 , my net is 192.168.0.x. The strange thing is that I appear not to have any VMs running (VM Worstation 15 on another machine)...
  8. Run a VM win10 for gaming?

    in Windows 10 Virtualization
    Run a VM win10 for gaming?: Is there a way to run win10 for gaming in a VM? I almsot want to run win10 VM in win7 or 8.1 or a sparsely updated win10... 71906
  9. Running VM's Within Windows 10

    in Windows 10 Virtualization
    Running VM's Within Windows 10: Hello, my first post here, hope it's in the right place. I've been running Windows 10 since the day after the preview was released. However I took a different route than most when evaluating the OS, I installed it on my school laptop. Now it's not the best, only 1.4Ghz Intel...
  10. Crystal Disk Benchmark results on SSD's and Spinners

    in Windows 10 Performance & Maintenance
    Crystal Disk Benchmark results on SSD's and Spinners: Just did a quick CrystalDiskMark benchmark on my son's computer. His OS drive is an Intel 600p NVMe drive. [img] His storage drive is a Seagate Barracuda 2TB 64MB Cache 7,200RPM spinner (ST2000DM006). [img] Guess the SSD is a tad faster. 78937