nickt
Contributor
- Joined
- Feb 27, 2015
- Messages
- 131
Hi All,
I am really enjoying iohyve on my FreeNAS 9.10 system. I've now got 3 VMs, all running Debian Jesse, working like a charm. I'm slowly migrating my services which were once hosted on jails / plugins into Docker containers on my VMs. I'm so impressed with how straight forward it has been and how well it works.
Where I've come unstuck, though, is I'm finding that attaching storage external to the VM (but hosted on my FreeNAS system) is incredibly slow using either CIFS or NFS. This hasn't been too much of a problem until I recently setup Nextcloud, and I'm finding it awfully slow because of this.
As an example, I can copy (duplicate by cp command at command line) a 1 GB file on FreeNAS natively in about 2 seconds. Doing the same thing from an iohyve VM, connecting to the storage using CIFS takes about 30 seconds (30 MB/s), and by NFS about 45 seconds (22 MB/s). If I connect another machine by gigabit Ethernet, I can easily saturate the link when copying files to and from FreeNAS native CIFS shares (around 100 MB/s).
I can provide configs and more details, but I'd like to first know whether anyone else has had performance issues when attaching storage to iohyve VMs? Is CIFS / NFS the way to go? Are there any tricks people had to use to get it going well?
Many thanks,
Nick
I am really enjoying iohyve on my FreeNAS 9.10 system. I've now got 3 VMs, all running Debian Jesse, working like a charm. I'm slowly migrating my services which were once hosted on jails / plugins into Docker containers on my VMs. I'm so impressed with how straight forward it has been and how well it works.
Where I've come unstuck, though, is I'm finding that attaching storage external to the VM (but hosted on my FreeNAS system) is incredibly slow using either CIFS or NFS. This hasn't been too much of a problem until I recently setup Nextcloud, and I'm finding it awfully slow because of this.
As an example, I can copy (duplicate by cp command at command line) a 1 GB file on FreeNAS natively in about 2 seconds. Doing the same thing from an iohyve VM, connecting to the storage using CIFS takes about 30 seconds (30 MB/s), and by NFS about 45 seconds (22 MB/s). If I connect another machine by gigabit Ethernet, I can easily saturate the link when copying files to and from FreeNAS native CIFS shares (around 100 MB/s).
I can provide configs and more details, but I'd like to first know whether anyone else has had performance issues when attaching storage to iohyve VMs? Is CIFS / NFS the way to go? Are there any tricks people had to use to get it going well?
Many thanks,
Nick