Now we live in a world where computers with decent sized hard drives are hard to come by, I'm often tasked with rationing the internal drives on our fleet of computers. A priority that I was happy to bid farewell to 15 years. What is old is new again...
Anyway, a key target for offloading to an external drive are the hundreds of gigabytes of virtual machine images we tend to use regularly. We recently deployed a shiny new NAS (Synology DS418) and have been making great use of it.
In my first bog-standard attempt to use the NAS for VM storage, the results were unacceptable. My criteria for acceptance would be, say, a fresh Ubuntu 18 install booting in less than 10 minutes. Currently I've left it overnight and it still hasn't made it to the desktop.
This is the current setup:
- Synology DS418 NAS with 4 HDD all in a SHR (Synology Hybrid Raid).
- NAS connected via Gigabit Ethernet to switch with link aggregation. 120MB/s write performance is pretty typical over Ethernet.
- Latest VirtualBox running on Macbook Pro Early 2013.
- VirtualBox image stored on NAS, mounted as a network share via SMB.
- VirtualBox pointed to a symlink that points to the network share.
- Macbook connected to switch via WiFi at 217 Mbps link speed.
- Running fresh Ubuntu 18 install from within VirtualBox.
As mentioned, the results are poor. Far poorer than I expected. Obviously there are many things to tweak (starting with Ethernet), but given that it's a many-day affair to test (have been waiting for Ubuntu to shutdown for nearly an hour now) I was hoping others could share their experience or prediction - do I have a hope of achieving my criteria of "acceptable" or is there something fundamentally wrong here?