Hi Everyone,
I’ve just installed TrueNAS on a Dell Optiplex with HBA card
I have 14TB mirror and 1 nvme ssd available
I’ve enabled SMB on both and started testing moving data around by mapping the share on two Win 11 PCs (over wifi and ethernet), but it’s always capped at 25MB/s
I tried from my phone using Samsung’s MyFiles app (over wifi of course, the transfer was slow too)
What I’ve done so far:
Summary of Testing and Results
1. Initial Problem:
- SMB transfer speed is consistently around 25 MB/s for both NVMe (SSD) and HDD storage on TrueNAS.
2. Core System & Network Checks:
- TrueNAS Installation Type: Confirmed as Bare Metal, not a Virtual Machine. (Eliminates VM overhead as a cause).
- TrueNAS CPU & RAM Usage During Transfer: Confirmed to be minimal. (Eliminates CPU/RAM as a bottleneck).
- Network Link Speed (TrueNAS side): Checked via
sudo ethtool <interface_name>
.- Result:
Speed: 1000Mb/s
,Duplex: Full
. (Confirms TrueNAS NIC is operating at Gigabit speed).
- Result:
- Raw Network Throughput (iPerf3 test): Performed client-to-TrueNAS iPerf3 test.
- Result:
858 Mbits/sec
(sender),941 Mbits/sec
(receiver). (Confirms your entire network path, from client to TrueNAS, is operating at full Gigabit speeds, ruling out network cables, client NIC, and switch as the bottleneck).
- Result:
3. Internal TrueNAS Storage Performance (dd command tests):
- NVMe (SSD) Write Speed: ~354-355 MB/s
- HDD Write Speed: ~352 MB/s
- NVMe (SSD) Read Speed: ~4.7 GB/s (4700 MB/s)
- HDD Read Speed: ~4.7 GB/s (4700 MB/s) (no way this is true, so not sure why dd reported this speed)
- Inter-Pool Transfer (SSD to HDD): ~566 MB/s
- Inter-Pool Transfer (HDD to SSD): ~1.6 GB/s (1600 MB/s) (again, (no way this is true, so not sure why dd reported this speed)
While I created the random data files, the speed was about 350MB/s on both HDD and SSD
sudo dd if=/dev/urandom of=/mnt/ssd/test_file_4gb_ssd.bin bs=1M count=4096 status=progress
4246732800 bytes (4.2 GB, 4.0 GiB) copied, 12 s, 354 MB/s
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 12.1363 s, 354 MB/s
sudo dd if=/dev/urandom of=/mnt/hdd/test_file_4gb_hdd.bin bs=1M count=4096 status=progress
4221566976 bytes (4.2 GB, 3.9 GiB) copied, 12 s, 352 MB/s
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 12.2088 s, 352 MB/s
sudo dd if=/dev/urandom of=/mnt/ssd/ssd_write_test.bin bs=1M count=4096 status=progress
4260364288 bytes (4.3 GB, 4.0 GiB) copied, 12 s, 355 MB/s
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 12.0984 s, 355 MB/s
sudo dd if=/mnt/ssd/test_file_4gb_ssd.bin of=/dev/null bs=1M status=progress
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.908066 s, 4.7 GB/s
sudo dd if=/dev/urandom of=/mnt/hdd/hdd_write_test.bin bs=1M count=4096 status=progress
4224712704 bytes (4.2 GB, 3.9 GiB) copied, 12 s, 352 MB/s
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 12.1991 s, 352 MB/s
sudo dd if=/mnt/hdd/test_file_4gb_hdd.bin of=/dev/null bs=1M status=progress
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 0.912368 s, 4.7 GB/s
sudo dd if=/mnt/ssd/test_file_4gb_ssd.bin of=/mnt/hdd/copied_ssd_to_hdd.bin bs=1M status=progress
4149215232 bytes (4.1 GB, 3.9 GiB) copied, 7 s, 593 MB/s
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 7.584 s, 566 MB/s
sudo dd if=/mnt/hdd/test_file_4gb_hdd.bin of=/mnt/ssd/copied_hdd_to_ssd.bin bs=1M status=progress
3622830080 bytes (3.6 GB, 3.4 GiB) copied, 2 s, 1.8 GB/s
4096+0 records in
4096+0 records out
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 2.74129 s, 1.6 GB/s
5. Client PC SMB Configuration:
- SMB Signing: Checked via
Get-ItemProperty
in PowerShell.- Result:
EnableSecuritySignature: 1
(client signing enabled),RequireSecuritySignature: 0
(client does not require signing). - Interpretation: Client is configured to use signing, which should work with TrueNAS’s default/auto settings.
- Result:
I didn’t have such issues with SMB on my RPi 4 with the same Win 11 machines, saturating-ish the 1Gbps link
I’ve mounted the SMB share on the Rpi and I get 100MB/s:
4294967296 bytes (4.3 GB, 4.0 GiB) copied, 39.7005 s, 108 MB/s
I’m out of ideas and I’d be very grateful if someone can help It does look like Win 11 and OneUI 7 don’t work well with that particular share.
EDIT and SOLUTION:
Setting the datasets to sync=disabled
and back to STANDARD fixed the issue