Re: TOS 7.0.1536 (x86) Official Release Update
Posted: 11 Nov 2026, 16:33
F4-425 Pro / TOS 7: SMB Write Performance — Finder vs. cp vs. ditto
Hello everyone,
I'd like to share the results of my SMB performance tests on a TerraMaster F4-425 Pro running TOS 7.
I noticed a significant difference in large-file write speeds depending on whether I use macOS Finder, cp, or ditto. I'm interested in finding out whether other TerraMaster users have experienced similar behavior.
1. Hardware and Network Setup
NAS
- Model: TerraMaster F4-425 Pro
- OS: TOS 7
- RAM: 32 GB
- SATA RAID 1: 2 × Samsung 870 EVO 2 TB (system and data)
- NVMe RAID 5: 3 × Samsung 970 EVO Plus 500 GB
- Storage stack: Linux mdraid → LVM → Btrfs
Mac
- Mac mini M4, 16 GB unified memory
- macOS Sequoia
- ACASIS NT0201 Thunderbolt-to-10GbE adapter (Aquantia AQC113)
Network
- Direct Ethernet connection between Mac and NAS
- Negotiated speed: 5 Gbps
- MTU: 8192 on both devices
- SMB version: 3.1.1
- SMB Multichannel: Disabled
- SMB encryption: Disabled
2. Network Performance (iperf3)
I ran iperf3 in a Docker container using host networking on the NAS.
Results:
- Mac → NAS (4 TCP streams): ~4.95 Gbps
- NAS → Mac (4 TCP streams): ~4.95 Gbps
- Mac → NAS (1 TCP stream): ~4.95 Gbps
The network connection performs close to its 5GbE limit in both directions.
3. Local NVMe RAID 5 Write Performance (fio)
I tested sequential writes directly on /Volume2, bypassing SMB.
All tests used a 16 GiB file, direct I/O (direct=1), and a final fsync.
Results:
- 1 MiB blocks, QD16: 1,545 MB/s
- 1 MiB blocks, QD1: 728 MB/s
- 256 KiB blocks, QD1: 565 MB/s
- 64 KiB blocks, QD1: 185 MB/s
- 64 KiB blocks, QD16: 1,137 MB/s
The RAID 5 array is healthy ([3/3] [UUU]), with no background synchronization.
These results show that the array is capable of high sequential write throughput, although performance depends heavily on block size and queue depth.
4. SMB Write Performance: Finder vs. Terminal
This is the most interesting part.
I copied the same 17,806,604,888-byte (17.81 GB) file from the Mac's internal SSD to the NVMe RAID 5 SMB share (Storage_2).
Results:
- Finder (original file): 53 seconds — 336 MB/s
- Finder (copy without quarantine attribute): 50 seconds — 356 MB/s
- Terminal (cp): 33.07 seconds — 538 MB/s
- Terminal (ditto): 28.94 seconds — 615 MB/s
Commands used:
cp:
ditto:
The difference is substantial.
In these tests, Finder achieved approximately 335–355 MB/s, while ditto reached approximately 615 MB/s.
I also created a separate copy of the file without the com.apple.quarantine extended attribute. This did not significantly improve Finder performance.
For comparison, cp achieved approximately 439 MB/s when writing the same file to the SATA RAID 1 share (Storage_1).
Important note: The SMB speeds above were calculated by dividing the file size by the total copy completion time. They do not independently verify that all data had been physically flushed from the NAS RAM to the SSDs.
5. Relevant Samba Settings
The following values were reported by testparm:
The aio write size = 4096 setting applies to the shared folders.
RAID 5 and Btrfs settings:
- RAID chunk size: 64 KiB
- Stripe cache size: 4096
- Btrfs mount options: rw,noatime,ssd,tmacl,space_cache=v2
CPU utilization remained relatively low during SMB transfers. The smbd process did not appear to saturate a CPU core.
6. Observations
Based on these tests:
- The physical 5GbE network connection does not appear to be the bottleneck.
- The NVMe RAID 5 array is capable of significantly higher write throughput than the speeds observed with Finder.
- SMB transfers using cp and especially ditto complete substantially faster than transfers using Finder.
- Removing the quarantine attribute did not eliminate the performance difference.
- No SMB encryption or background RAID synchronization was active during testing.
I have not yet determined exactly why Finder performs more slowly.
Possible factors include differences in SMB write patterns, metadata handling, caching, or macOS file-copy behavior.
7. Questions for the Community
- Has anyone experienced significantly slower SMB transfers using macOS Finder compared with cp or ditto on TOS 7?
- Could Finder's SMB write behavior, metadata handling, or caching explain this difference?
- Are there any recommended Samba settings specifically for improving large-file SMB writes from macOS?
- Have other F4-425 Pro owners achieved consistent 500–600 MB/s write speeds through Finder over a single 5GbE connection?
I'd prefer not to disable SMB security features or modify filesystem and RAID settings without identifying the actual cause.
Any feedback, comparable benchmarks, or insights from TerraMaster developers would be greatly appreciated.
Thanks!
Hello everyone,
I'd like to share the results of my SMB performance tests on a TerraMaster F4-425 Pro running TOS 7.
I noticed a significant difference in large-file write speeds depending on whether I use macOS Finder, cp, or ditto. I'm interested in finding out whether other TerraMaster users have experienced similar behavior.
1. Hardware and Network Setup
NAS
- Model: TerraMaster F4-425 Pro
- OS: TOS 7
- RAM: 32 GB
- SATA RAID 1: 2 × Samsung 870 EVO 2 TB (system and data)
- NVMe RAID 5: 3 × Samsung 970 EVO Plus 500 GB
- Storage stack: Linux mdraid → LVM → Btrfs
Mac
- Mac mini M4, 16 GB unified memory
- macOS Sequoia
- ACASIS NT0201 Thunderbolt-to-10GbE adapter (Aquantia AQC113)
Network
- Direct Ethernet connection between Mac and NAS
- Negotiated speed: 5 Gbps
- MTU: 8192 on both devices
- SMB version: 3.1.1
- SMB Multichannel: Disabled
- SMB encryption: Disabled
2. Network Performance (iperf3)
I ran iperf3 in a Docker container using host networking on the NAS.
Results:
- Mac → NAS (4 TCP streams): ~4.95 Gbps
- NAS → Mac (4 TCP streams): ~4.95 Gbps
- Mac → NAS (1 TCP stream): ~4.95 Gbps
The network connection performs close to its 5GbE limit in both directions.
3. Local NVMe RAID 5 Write Performance (fio)
I tested sequential writes directly on /Volume2, bypassing SMB.
All tests used a 16 GiB file, direct I/O (direct=1), and a final fsync.
Results:
- 1 MiB blocks, QD16: 1,545 MB/s
- 1 MiB blocks, QD1: 728 MB/s
- 256 KiB blocks, QD1: 565 MB/s
- 64 KiB blocks, QD1: 185 MB/s
- 64 KiB blocks, QD16: 1,137 MB/s
The RAID 5 array is healthy ([3/3] [UUU]), with no background synchronization.
These results show that the array is capable of high sequential write throughput, although performance depends heavily on block size and queue depth.
4. SMB Write Performance: Finder vs. Terminal
This is the most interesting part.
I copied the same 17,806,604,888-byte (17.81 GB) file from the Mac's internal SSD to the NVMe RAID 5 SMB share (Storage_2).
Results:
- Finder (original file): 53 seconds — 336 MB/s
- Finder (copy without quarantine attribute): 50 seconds — 356 MB/s
- Terminal (cp): 33.07 seconds — 538 MB/s
- Terminal (ditto): 28.94 seconds — 615 MB/s
Commands used:
cp:
Code: Select all
time cp "$HOME/Desktop/InstallAssistant.pkg" \
"/Volumes/Storage_2/smb_test_cp.pkg"
Code: Select all
time ditto "$HOME/Desktop/InstallAssistant.pkg" \
"/Volumes/Storage_2/smb_test_ditto.pkg"
In these tests, Finder achieved approximately 335–355 MB/s, while ditto reached approximately 615 MB/s.
I also created a separate copy of the file without the com.apple.quarantine extended attribute. This did not significantly improve Finder performance.
For comparison, cp achieved approximately 439 MB/s when writing the same file to the SATA RAID 1 share (Storage_1).
Important note: The SMB speeds above were calculated by dividing the file size by the total copy completion time. They do not independently verify that all data had been physically flushed from the NAS RAM to the SSDs.
5. Relevant Samba Settings
The following values were reported by testparm:
Code: Select all
server smb encrypt = No
server signing = default
strict sync = Yes
sync always = No
aio max threads = 100
aio write size = 4096
smb2 max credits = 8192
smb2 max write = 8388608
smb2 leases = Yes
RAID 5 and Btrfs settings:
- RAID chunk size: 64 KiB
- Stripe cache size: 4096
- Btrfs mount options: rw,noatime,ssd,tmacl,space_cache=v2
CPU utilization remained relatively low during SMB transfers. The smbd process did not appear to saturate a CPU core.
6. Observations
Based on these tests:
- The physical 5GbE network connection does not appear to be the bottleneck.
- The NVMe RAID 5 array is capable of significantly higher write throughput than the speeds observed with Finder.
- SMB transfers using cp and especially ditto complete substantially faster than transfers using Finder.
- Removing the quarantine attribute did not eliminate the performance difference.
- No SMB encryption or background RAID synchronization was active during testing.
I have not yet determined exactly why Finder performs more slowly.
Possible factors include differences in SMB write patterns, metadata handling, caching, or macOS file-copy behavior.
7. Questions for the Community
- Has anyone experienced significantly slower SMB transfers using macOS Finder compared with cp or ditto on TOS 7?
- Could Finder's SMB write behavior, metadata handling, or caching explain this difference?
- Are there any recommended Samba settings specifically for improving large-file SMB writes from macOS?
- Have other F4-425 Pro owners achieved consistent 500–600 MB/s write speeds through Finder over a single 5GbE connection?
I'd prefer not to disable SMB security features or modify filesystem and RAID settings without identifying the actual cause.
Any feedback, comparable benchmarks, or insights from TerraMaster developers would be greatly appreciated.
Thanks!