For a Fileserver Virtualization i passthrough a SATA Controller to a Nas4Free VM.
There i have et al an mirrored ZFS SSD Pool (2 x Samsung 840 Pro).
The Read-Performance from this Pool inside the Nas4Free VM is very fast: ~1GB/sec.
The Dataset of this Pool I've shared via NFS and added in Proxmox as NFS-Storage.
With VIRTIO Network in these VM i get this iperf-Values:
But the Read-Performance from the Host is very bad:
When I use the "e1000" Network Card in Nas4Free VM, iperf shows ~"1.3 Gbits/sec" an the Result in dd increased to ~"130 MB/s"
I think the Speed with VIRTIO would still be nearly as fast as in the VM itself?
Where is the Bottleneck?
There i have et al an mirrored ZFS SSD Pool (2 x Samsung 840 Pro).
The Read-Performance from this Pool inside the Nas4Free VM is very fast: ~1GB/sec.
The Dataset of this Pool I've shared via NFS and added in Proxmox as NFS-Storage.
With VIRTIO Network in these VM i get this iperf-Values:
Code:
nas4free: ~ # iperf -c 192.168.0.3
------------------------------------------------------------
Client connecting to 192.168.0.3, TCP port 5001
TCP window size: 257 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.240 port 13603 connected with 192.168.0.3 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 45.5 GBytes [COLOR=#0000ff]39.0 Gbits/sec[/COLOR]
nas4free: ~ # iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 256 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.0.240 port 5001 connected with 192.168.0.3 port 55841
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 37.0 GBytes [COLOR=#0000ff]31.7 Gbits/sec[/COLOR]
Code:
root@proxmox:/alex# iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[ 4] local 192.168.0.3 port 5001 connected with 192.168.0.240 port 13603
[ ID] Interval Transfer Bandwidth
[ 4] 0.0-10.0 sec 45.5 GBytes [COLOR=#0000ff]38.9 Gbits/sec[/COLOR]
root@proxmox:/alexiperf -c 192.168.0.240
------------------------------------------------------------
Client connecting to 192.168.0.240, TCP port 5001
TCP window size: 22.5 KByte (default)
------------------------------------------------------------
[ 3] local 192.168.0.3 port 55841 connected with 192.168.0.240 port 5001
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 37.0 GBytes [COLOR=#0000ff]31.8 Gbits/sec[/COLOR]
But the Read-Performance from the Host is very bad:
Code:
root@proxmox:/# dd if=/mnt/pve/nas4free-ssd/images/110/vm-110-disk-1.qcow2 of=/dev/null bs=2M count=2000
2000+0 records in
2000+0 records out
4194304000 bytes (4.2 GB) copied, 76.0466 s, [COLOR=#ff0000]55.2 MB/s[/COLOR]
When I use the "e1000" Network Card in Nas4Free VM, iperf shows ~"1.3 Gbits/sec" an the Result in dd increased to ~"130 MB/s"
I think the Speed with VIRTIO would still be nearly as fast as in the VM itself?
Where is the Bottleneck?