I could solve the instability problems and I am using the 2.5Gbit port now without having errors and with full speed!
changing the swich Flow Control On for 2.5Gbit devices
ethtool -K <LAN-device> sg off
sudo ip link set dev <LAN device> mtu 9000
using the actual dtb file posted above
cp rk3399-kobol-helios64.dtb /boot/dtb/rockchip/
update-initramfs -u
nano /etc/default/cpufrequtils
ENABLE=true
MIN_SPEED=600000
MAX_SPEED=1800000
GOVERNOR=ondemand
nano /etc/rc.local
for cpufreqpolicy in 0 4 ; do
echo 1 > policy${cpufreqpolicy}/ondemand/io_is_busy
echo 25 > policy${cpufreqpolicy}/ondemand/up_threshold
echo 10 > policy${cpufreqpolicy}/ondemand/sampling_down_factor
echo $(cat policy${cpufreqpolicy}/cpuinfo_transition_latency) > policy${cpufreqpolicy}/ondemand/sampling_rate
done
for i in $(awk -F":" "/ahci/ {print \$1}" < /proc/interrupts | sed 's/\ //g'); do
echo 10 > /proc/irq/$i/smp_affinity
done
for i in $(awk -F":" "/xhci/ {print \$1}" < /proc/interrupts | sed 's/\ //g'); do
echo 20 > /proc/irq/$i/smp_affinity
done
exit 0
nano /usr/local/bin/make_nas_processes_faster.sh
#!/bin/sh -e
for i in `pgrep "iperf3|smb"` ; do ionice -c1 -p $i ; taskset -c -p 4 $i; done # >/dev/null 2>&1
running as a service