Hi everyone,
I have created a FreeNAS server inside a proxmox server.
I have read several posts on this topic, and I choose to do a passthrougth of a MBA MegaRAID flashed as mentionned on this site.
The VM have 32 GB of RAM (ECC) and 4 vCPU.
I measured the transfer rate through a samba share of 60 MB/s, and I was wondering if there were a bottleneck.
We can see that VirtIO give the best speed rate on FreeNAS, so I choose to use this driver on my VM.
The tests were conducted without the proxmox firewall (poor performance when activated).
No impact of the hardware offloading parameter on FreeNAS.
www.hardwaresecrets.com
So it appears that I have a small performance degradation on my Read/Write rates compared to the expected ones. Maybe due to the virtualisation.
But from my 60MB/s I can expect better.
What could I do next to try to improve the SMB share rate ?
I have created a FreeNAS server inside a proxmox server.
I have read several posts on this topic, and I choose to do a passthrougth of a MBA MegaRAID flashed as mentionned on this site.
The VM have 32 GB of RAM (ECC) and 4 vCPU.
I measured the transfer rate through a samba share of 60 MB/s, and I was wondering if there were a bottleneck.
- Network tests
- Linux_VM/Linux_VM (iperf3) :
CentOS8>---<VirtIO>---<vmbr>---<VirtIO>---<CentOS8 | 18,7 Gbits/ses |
CentOS8>---<VirtIO>---<vmbr>---<e1000>---<CentOS8 | 3,1 Gbits/sec |
CentOS8>---<e1000>---<vmbr>---<e1000>---<CentOS8 | 1,6 Gbits/sec |
- LinuxVM/FreeBSD_VM (iperf3) :
CentOS8>---<VirtIO>---<vmbr>---<VirtIO>---<FreeNAS(11.3U1) | 16,6 Gbits/ses |
CentOS8>---<e1000>---<vmbr>---<VirtIO>---<FreeNAS(11.3U1) | 3,0 Gbits/sec |
CentOS8>---<VirtIO>---<vmbr>---<e1000>---<FreeNAS(11.3U1) | 535 Mbits/sec |
CentOS8>---<e1000>---<vmbr>---<e1000>---<FreeNAS(11.3U1) | 584 Mbits/sec |
- VM/Laptop (iperf3) :
CentOS>---<VirtIO>---<vmbr>---<I350>--|Cat5E|--<Realtek>---<Ubuntu | 941 Mbits/ses |
FreeNAS>---<VirtIO>---<vmbr>---<I350>--|Cat5E|--<Realtek>---<Ubuntu | 941 Mbits/sec |
We can see that VirtIO give the best speed rate on FreeNAS, so I choose to use this driver on my VM.
The tests were conducted without the proxmox firewall (poor performance when activated).
No impact of the hardware offloading parameter on FreeNAS.
- FreeNAS Read/Write performance
- Actual Raw Read/Write Performances :
dd if=/dev/random of=/mnt/.../testfile bs=4M count=10000 | 105 MB/s 95 MB/s 99 MB/s ------------------ 100 MB/s |
dd if=/mnt/.../testfile of=/dev/null bs=4M count=10000 | 91 MB/s 94 MB/s 93 MB/s ------------------ 93 MB/s |
dd if=/dev/random of=/dev/null bs=4M count=10000 | 136 MB/s 137 MB/s 136 MB/s ------------------ 136 MB/s |
- Theoretical Read/Write Performances :
Disk | Write (MB/s) | Read (MB/s) |
Seagate NAS HDD 3 To ST3000VN000 | 123 | 123 |
Seagate BarraCuda 1 TB ST1000LM048 | 126 | 133 |

Seagate NAS HDD 3 To ST3000VN000 en test - Comparatif : Neuf disques durs 3.5'' de 3 To - HardWare.fr
Le prix des disques revient lentement à la normale, si bien que la capacité de 3 To tire aujourd'hui son épingle du jeu. Quel disque choisir parmi les offres Seagate, Toshiba et Western Digital ?
www.hardware.fr
Seagate BarraCuda 1 TB ST1000LM048 Hard Drive Review | Hardware Secrets
So it appears that I have a small performance degradation on my Read/Write rates compared to the expected ones. Maybe due to the virtualisation.
But from my 60MB/s I can expect better.
- What is next ?
What could I do next to try to improve the SMB share rate ?