Hi,
A fresh install of OMV v3 on a base Debian Jessie distribution running on ODROID-XU4
The external USB3 drive is a 2TB Western Digital My Passport Ultra
This drive is luks encrypted, file system is ext4
I've used this drive on a Windows 10 machine with NTFS before and it had read/write rates > 80 MB/sec there
Extra options for SMB/CIFS in OMV are:
And "Use sendfile" is ticked as well
I'm using all tuning options (governor = ondemand, tuned irq settings, etc.)
from Obihörnchens blog entries.
mii-tool's output is fine:
iperf3 output looks good as well (> 900 Mbits/sec)
I'm aware that the luks encryption costs performance but the
write rate of a 1 GB file to the SMB shares starts with ~85 MB/s
but immediately drops down to about 18 MB/s and stays in that
range.
top shows that a process called ksoftirqd/<x> can jump up to ~ 80%
kworker/ takes up to 30% (sometimes this and ksoftirqd share the 80% value)
and samba takes the rest (about 20%).
I'm using these tweaks in /etc/rc.local
# cpu0 sets cpu[0-3], cpu4 sets cpu[4-7]
devices/system/cpu/cpu0/cpufreq/ondemand/io_is_busy = 1
devices/system/cpu/cpu4/cpufreq/ondemand/io_is_busy = 1
devices/system/cpu/cpu0/cpufreq/ondemand/sampling_down_factor = 10
devices/system/cpu/cpu4/cpufreq/ondemand/sampling_down_factor = 10
devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold = 80
devices/system/cpu/cpu4/cpufreq/ondemand/up_threshold = 80
# Move USB and network irqs to first A15 CPU cluster
# usb2
echo 4 > /proc/irq/103/smp_affinity_list
# usb3
echo 4 > /proc/irq/104/smp_affinity_list
# network
echo 4 > /proc/irq/105/smp_affinity_list
# Enable RPS on all A15 cores expect the interrupt core (4)
echo e0 > /sys/class/net/eth0/queues/rx-0/rps_cpus
Alles anzeigen
How can I get the speeds up?