Hello,
The title says it all. In TrueNAS Scale, I have a 2 drive mirrored pool for testing, with more to be added when the drives arrive. I am seeing 270MBps transfers until the cache dumps and then the transfers dip to below 100MBps and sometimes go as low as 30 or 40MBps. They never really stabilize at one speed. The drives are rated for 190MBps on single disk transfers, but it is not clear if that is just read or if it includes write speed. I am using Intel 2.5gb NICs and I know people tend to blame these, but all of my testing points to them being just fine. The reasons are below.
Some additional information:
I am running TrueNAS as a VM in Proxmox with an LSI-9211-8i passed through to it. It is in IT mode and has p20 firmware. For shits and giggles, I created another single disk pool with another 6TB Ironwolf drive and had it connected to a motherboard SATA port. Same behavior.
I played around with 3 or 4 compression types, but went back to LZ4 as there wasn't a huge difference and sorry, but I don't remember which ones I tried.
I have allotted anywhere from 16GB to 28GB of RAM (32GB total on host machine) to the VM with only it running. The additional RAM does lengthen the initial burst of speed before the cache dumps, but does not change the slow and fluctuating speeds. I have an I7-8700k on this machine and have also tried giving the TrueNAS VM varying core counts to no avail.
On Monday, I took a spare NVMe drive and installed TrueNAS on bare metal and imported my pools. The same behavior occurred, but the speeds were a little more stable and a little faster.
So what about ZFS/TrueNAS and SMB transfers is tanking my READ AND WRITE speeds?? Are there parameters I can tune to help out? I do not think I am a candidate for running cache disks and the like.
Hardware list below.
Asus Z370 Prime-A
I7-8700k
32GB 3000MHz RAM - Non ECC
2x6TB Seagate Ironwolf 5400RPM HDDs- ST6000VN001-2BB186
970 Evo Boot Drive for Proxmox (250GB)
Sandisk SATA SSD - Dedicated for disk TrueNAS
LSI-9211-8i - HDDs connected here and passed through to TrueNAS VM - In a PCIEx16 slot running at x8
RTX-2070 Super -Installed in first x16 slot, but running in x8-x8 with the LSI card. Motherboard manual says it's capable of doing this.
The title says it all. In TrueNAS Scale, I have a 2 drive mirrored pool for testing, with more to be added when the drives arrive. I am seeing 270MBps transfers until the cache dumps and then the transfers dip to below 100MBps and sometimes go as low as 30 or 40MBps. They never really stabilize at one speed. The drives are rated for 190MBps on single disk transfers, but it is not clear if that is just read or if it includes write speed. I am using Intel 2.5gb NICs and I know people tend to blame these, but all of my testing points to them being just fine. The reasons are below.
- I have ran iperf3 between machines with the i225 NICs and it pegs 280MBps until I stop iperf. Tested for several minutes at a time
- I created a single disk pool with a SATA SSD. Transfers to and from the same machines to the SSD pool pegged 280MBps for the entire 20+GB transfer.
- I ran several of the fio tests from this website: https://forums.lawrencesystems.com/t/linux-benchmarking-with-fio/11122
- Speeds look normal. I can retest and paste in the results if needed. I am mostly concerned with larger file transfers such as movies and other media
- I have sent files to my backup Synology NAS and large files peg 110MBps because it has a 1gig NIC. These speeds do not fluctuate really at all.
Some additional information:
I am running TrueNAS as a VM in Proxmox with an LSI-9211-8i passed through to it. It is in IT mode and has p20 firmware. For shits and giggles, I created another single disk pool with another 6TB Ironwolf drive and had it connected to a motherboard SATA port. Same behavior.
I played around with 3 or 4 compression types, but went back to LZ4 as there wasn't a huge difference and sorry, but I don't remember which ones I tried.
I have allotted anywhere from 16GB to 28GB of RAM (32GB total on host machine) to the VM with only it running. The additional RAM does lengthen the initial burst of speed before the cache dumps, but does not change the slow and fluctuating speeds. I have an I7-8700k on this machine and have also tried giving the TrueNAS VM varying core counts to no avail.
On Monday, I took a spare NVMe drive and installed TrueNAS on bare metal and imported my pools. The same behavior occurred, but the speeds were a little more stable and a little faster.
So what about ZFS/TrueNAS and SMB transfers is tanking my READ AND WRITE speeds?? Are there parameters I can tune to help out? I do not think I am a candidate for running cache disks and the like.
Hardware list below.
Asus Z370 Prime-A
I7-8700k
32GB 3000MHz RAM - Non ECC
2x6TB Seagate Ironwolf 5400RPM HDDs- ST6000VN001-2BB186
970 Evo Boot Drive for Proxmox (250GB)
Sandisk SATA SSD - Dedicated for disk TrueNAS
LSI-9211-8i - HDDs connected here and passed through to TrueNAS VM - In a PCIEx16 slot running at x8
RTX-2070 Super -Installed in first x16 slot, but running in x8-x8 with the LSI card. Motherboard manual says it's capable of doing this.