VM - Cache Drive or Unassigned for Primary vDisk Location


Recommended Posts

Hi All,

New to VMs. Been reading through the threads.  Unclear what the official opinion is here. Should I run a Win 10 gaming VM on the Cache Drive or an Unassigned drive?

Secondly, when assigning the Primary vDisk Location why wouldn't I want to just use "Auto".

 

Cheers

Link to comment

vm image on unsigned ssd is considered best, but cache drive is still better than array.

 

if you use auto for location, and have your /domain folder set on cache drive, then the vm image will be put there.

Not sure I would agree. Arguments can be made either way and depends on a specific user's needs. If cache is big enough, it's one less thing to configure, one less drive to buy, and one less port to use.
  • Like 1
Link to comment

vm image on unsigned ssd is considered best, but cache drive is still better than array.

 

if you use auto for location, and have your /domain folder set on cache drive, then the vm image will be put there.

Not sure I would agree. Arguments can be made either way and depends on a specific user's needs. If cache is big enough, it's one less thing to configure, one less drive to buy, and one less port to use.

 

using it on cache, the vm has to share drive bandwidth with any dockers that are running.

 

I've noticed slight throughput gains using vm's on unassigned devices. Nothing to write home about, but I think others have seem more. Is it worth the extra setup (as in, adding another drive, and then clicking a new destination for the image file in vm setup)? That is up to each user. But if a problem arrises on the vm physical disk and it needs to be replaced, you don't have to stop the array to do so.

 

and IF unRaid allows vm's to run without the array being spun up in the future, my suspicion is that it will only be run on mounted unassigned devices.

 

But you are 100% right, arguments could be made either way. If you're using cache drive with a few drives, then the vm is saved on several disks, and if there is a drive failure, it is still operable. A benefit for some. Maybe we should do a poll, because my initial post was based on what my impressions were on the board. Could be interesting, I could be flat wrong!

Link to comment

vm image on unsigned ssd is considered best, but cache drive is still better than array.

 

if you use auto for location, and have your /domain folder set on cache drive, then the vm image will be put there.

Not sure I would agree. Arguments can be made either way and depends on a specific user's needs. If cache is big enough, it's one less thing to configure, one less drive to buy, and one less port to use.

 

using it on cache, the vm has to share drive bandwidth with any dockers that are running.

 

I've noticed slight throughput gains using vm's on unassigned devices. Nothing to write home about, but I think others have seem more. Is it worth the extra setup (as in, adding another drive, and then clicking a new destination for the image file in vm setup)? That is up to each user. But if a problem arrises on the vm physical disk and it needs to be replaced, you don't have to stop the array to do so.

 

and IF unRaid allows vm's to run without the array being spun up in the future, my suspicion is that it will only be run on mounted unassigned devices.

 

But you are 100% right, arguments could be made either way. If you're using cache drive with a few drives, then the vm is saved on several disks, and if there is a drive failure, it is still operable. A benefit for some. Maybe we should do a poll, because my initial post was based on what my impressions were on the board. Could be interesting, I could be flat wrong!

On the other hand, I don't actually run any VMs ;D and if I did I don't have room for video cards or additional drives in my server.
Link to comment

vm image on unsigned ssd is considered best, but cache drive is still better than array.

 

if you use auto for location, and have your /domain folder set on cache drive, then the vm image will be put there.

Not sure I would agree. Arguments can be made either way and depends on a specific user's needs. If cache is big enough, it's one less thing to configure, one less drive to buy, and one less port to use.

 

using it on cache, the vm has to share drive bandwidth with any dockers that are running.

 

I've noticed slight throughput gains using vm's on unassigned devices. Nothing to write home about, but I think others have seem more. Is it worth the extra setup (as in, adding another drive, and then clicking a new destination for the image file in vm setup)? That is up to each user. But if a problem arrises on the vm physical disk and it needs to be replaced, you don't have to stop the array to do so.

 

and IF unRaid allows vm's to run without the array being spun up in the future, my suspicion is that it will only be run on mounted unassigned devices.

 

But you are 100% right, arguments could be made either way. If you're using cache drive with a few drives, then the vm is saved on several disks, and if there is a drive failure, it is still operable. A benefit for some. Maybe we should do a poll, because my initial post was based on what my impressions were on the board. Could be interesting, I could be flat wrong!

On the other hand, I don't actually run any VMs ;D and if I did I don't have room for video cards or additional drives in my server.

 

lol...

 

they can be a pain. one of my graphics cars blocks 2 slots  >:(

Link to comment
  • 8 months later...

has anyone seen significant performance gains from running vms on cache using raid 0? Im currently using unassigned devices for two 480gb ssds and was wondering if it is worth going the raid 0 cache route

Link to comment

Using a decent NVMe drive for cache with VMs on it is fine - even a lowly 256GB Samsung like the one I use can do 3100MB/s reads and 1200MB/s writes.  The bigger sizes can do 3500MB/s and 2500MB/s.

 

In my gaming rig, the NVMe 950 Pro totally slaughters the RAID0 of Crucial MX300 525GB.  The MX300 array can only (!) do 1GB/s reads compared to 3.5GB/s on the Samsung.

Link to comment
16 hours ago, antaresuk said:

has anyone seen significant performance gains from running vms on cache using raid 0? Im currently using unassigned devices for two 480gb ssds and was wondering if it is worth going the raid 0 cache route

 

Did it with 2 samsung ssds.... Hated the slow down when using dockers(and file transfers) that also accessed the cache as it has to share I/O. I also felt like the vm's stuttered a bit, and had more spinning beach balls, which I never had on a single drive. Moved images to unassigned device drives and backup to the array once a week or so. You really don't need more than 300MB/s for any standard vm to be "fast."  I have another setup that uses 4 600GB 15k disks that hits about 1GB/s, and it boots in about the same time. Programs launch about the same as well vs the single samsung SSDs. At a point there are diminishing returns, or at least on my equipment.

Link to comment
  • 1 month later...
  • 3 years later...
On 9/15/2017 at 5:57 PM, HellDiverUK said:

Using a decent NVMe drive for cache with VMs on it is fine - even a lowly 256GB Samsung like the one I use can do 3100MB/s reads and 1200MB/s writes.  The bigger sizes can do 3500MB/s and 2500MB/s.

 

In my gaming rig, the NVMe 950 Pro totally slaughters the RAID0 of Crucial MX300 525GB.  The MX300 array can only (!) do 1GB/s reads compared to 3.5GB/s on the Samsung.

Say i want to have 2 VMs with 250Gb for their boot drive and a cache drive, which would be ideal?:

1. Have 2x 250Gb NVMe + 1x 500Gb SATA SSD solely dedicated for cache drive

2. Have a 1Tb NVMe partitioned for the 2 VMs + 1x 500Gb SATA SSD solely dedicated for cache drive

3. Have a 1Tb NVMe for both the VMs and cache drive

 

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.