Hi everyone.
I have Dietpi runnin on an Odroid Xu4 using an SD, and using a SATA III HD for my music, pictures, videos; and an external box using a couple of HDs in RAID 05 to backup my personal data.
I had this setup with Open Media Vault but I tryed DIETPI and I found a better system for my needs.
My problem was, my SAMBA shares were very slow compared with the speed transfer I had with the same hardware and Open Media Vault.
Finally I found the problem which I share in case someone else it is having the same problem.
My transfer speed using the USB 3.0 port with my HDDs, in OMV reached 45MB/s, and a constant rate of around 30-35MB/s; in DIETPI this figure dropped to 15MB/s.
The problem was the buffer in smb.conf
this line
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
if you remove last part and let it that way
socket options = TCP_NODELAY IPTOS_LOWDELAY
You will get the max speed back again.
Hope it can help.
The solution I found in Odroid hardkernel forum by the user “infinity85”.
Best regards.
P.S. I was using wifi connection, but I also tryed wired and had the same speeds.