Hi,
i'm using N40L with software Raid5 (mdadm 4x3TB XFS) and Openmediavault.
Write Speed was low with AFP & SMB, with speed drops to 0MB/s.
Average at 80MB/sec
Processor and RAM were <20% usage.
So i tried many SMB & AFP Settings without success.
Then i found this Tweak:
Now writing with 110MB/s through GB-LAN constantly (big files).
local Raid5 write speed doubled.
Tuning:
Default setting was 256 instead of 8192
Read current setting:
(md*NUMBER* has to be set to the Raid-Array md-Number, e.g. md2, 3, 4, 127,...)
Navigate in Terminal over SSH to /sys/block/md*NUMBER*.
HowTo:
Linux Software Raid Performance Tuning
MDADM RAID GUIDE
To make setting permanent write commant into rc.local:
ZitatTo make changes permanent (SSH as root):
Scroll all the way to the bottom and add the following lines (single-spaced); be sure to add #these lines BEFORE the “exit 0” entry:– add a separate line for each raid array as specified by “mdx”
If uncertain navigate to the http link above to see a copy of /etc/rc.local
Ctrl+O and hit enter to save, Ctrl+X to exit. Reboot
The speed drops are gone!
Following tweaks weren't set, because i don't know if they may lead to data loss if already data on Raid5:
After Raid-Setup without data on disks this setting will give additional performance boost.
Processor at write at 25-30% and 8GB RAM at 6% load. GB-LAN seems to be the bottleneck now.
This setting should be implemented into OMV by default when Raid5 is created.
Pappl