logoalt Hacker News

bhoustontoday at 3:52 PM4 repliesview on HN

> "Dual 25 Gigabit SFP28 ports and redundant power supplies for resilience"

Can you actually saturate the links with the spinning drives?

I've had the hardest time making my TrueNAS ZFS server fast when it was filled with HDD spinning disks. I initially also had 12 of them trying to get maximum speed. I have 128GB RAM and a 10G ethernet connection. I tried all types of optimizations like L2ARC via NVMe, etc, and it wasn't very effective and just too much time spent tweaking and testing.

Instead I just threw up my hands and replaced all the spinning disks with NVMe drives for the data I actually shared (8x 4TB NVMe drives.) And now it very usable and no need for LRArc, etc. Random or streaming access is equally fast.

Best choice I made. Now I did do this over a year ago so I skipped the NVMe price inflation.

I still keep 4 spinning disks but it is for archival data that I expect to never access unless something bad happens. It is slow and I use it like a tape drive.


Replies

zamadatixtoday at 4:23 PM

I have a backup node with a 40G NIC & a ZFS pool of just 8x HDDs set up as a pool of two RAIDZ1 vdevs striped together (i.e. 4x drives in raidz1-0 & 4x drives in raidz1-1 make up the "backup" pool). Restoring full backup images to another server I usually get ~11-12 Gbps over NFS, no flash cache or anything involved.

Honestly, outside of random access/small file access, my primary NVMe ZFS server isn't all that much faster in raw throughput - despite being 22x NVMe drives going direct to the CPU instead of 8 HDDs going through a SATA controller. I think it's easier to hit other bottlenecks with ZFS/network transfers well before the disk throughput itself. E.g., enabling jumbo frames for NFS did still give me a decent perf/efficiency bonus.

toast0today at 4:27 PM

> Can you actually saturate the links with the spinning drives?

There can easily be a bottleneck depending on how the setup the sata/sas, but if you can get sustained sequential reads or writes, 16x drives at 6 Gbps sata should be able to saturate 2x 25 Gbps ethernet. The store link shows two expansion ports as well which should help get bandwidth to the point where 25 Gbps is useful.

Less likely with random reads/writes or mixed use.

show 1 reply
9x39today at 5:56 PM

You can fill it with SSDs, and SFP28 is so common the prices are cheap:

https://www.fs.com/c/25g-sfp28-3215

But no, spinning disks won't saturate it, even if you were doing 100% sequential reads.

(I originally said fill it with NVMe - I was wrong)

show 1 reply
whalesaladtoday at 4:41 PM

with the zil/slog on nvme yes -- you would want redundant power, UPS and a raid of nvme drives but with all that in place the data would get securely written to flash media before being flushed to spinning rust.