Think about the initial data flow ... NAS Disk (read) -> m.2 Cache (storage) -> VM (memory). Unless you are re-reading that block frequently (say due to swapping due to insufficient VM memory), you aren't going to be hitting it a lot. Now if say that block was part of a SQL Database running on a VM that you were doing frequent queries against, then you would likely see more benefit. Also remember that the cache covers ALL Volume reads, not just for VM's so that block could get bumped out of cache by other NAS usage potentially.FogDucker wrote:I was happy to read that caching is block level, but am surprised to read that caching didn't result in noticeable performance gains for guest operating systems. I suppose that once loaded, there really aren't repeated reads and that it might help a little with random writes.
The .img file for the VM data will grow to the file limit. It doesn't pre-allocate all the space at once. As for moving the file, yes you could do it, but remember the m.2's are configured for a specific usage. So if you configure them as cache, then you can't also use the same m.2 as SSD Storage.FogDucker wrote: A couple of more questions about virtualization: If I provision a 200GB VM, does that immediately create a 200GB file or will it simply grow up to the maximum of 200GB? Can I provision the VM on spinning disks today and move it to a m.2 volume later? Are there any drawbacks to running VMs on a m.2 volume? Does wear or heat play a role when using m.2 like this?
As for wear/heat, there is a finite lifespan to SSD's in general, and if you put them under heavy load the memory chips/controller on the m.2's can get hot. They do have thermal protection to keep them from "melting" but that also then slows down performance. Good ventilation around the NAS and potentially even installing heat-sinks on the m.2's can help the heat issue, but the heat sinks may void your warranty on the m.2 depending brand so check with the manufacturer.
As long as it is a model that connected via USB and on QNAP's compatibility list, you should be fine on the graceful shutdown.FogDucker wrote: On the note of using UPS, I fully agree and have 3 in my home alone. I've always found the tricky part is getting the UPS to notify the devices to gracefully shutdown before the batteries run out.
Enjoy your 473 Marc. Read the online documentation as well as getting started tutorials. You may want to play around a little bit to get the feel of things before you start moving too much data over. Make sure and have an external USB drive for backups. While RAID helps prevent data loss, it is not guarantee.FogDucker wrote: My TVS-473 was delivered today - I can't wait to start using it so that I can retire my ~8 year old PC/server! The 16GB sticks are en route, but I think I'll wait on the m.2 until I get a better feel for performance.
Thank you all for your valuable input. It's much appreciated and ultimately resulted in me buying into the QNAP platform!
--
Marc