Page 1 of 1

Slow SAMBA transfers. Odroid XU4. + FIX

Posted: Fri May 08, 2020 2:12 am
by joaquinain
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


if you remove last part and let it that way


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.

Re: Slow SAMBA transfers. Odroid XU4.

Posted: Fri May 08, 2020 2:20 am
by Joulinar

many thanks for sharing the solution. pls can you share the link to the original post. Maybe it's helpful if someone else would like to read it.

Next to that I would like to move your post to the Community Tutorials section if you agree.

Re: Slow SAMBA transfers. Odroid XU4.

Posted: Fri May 08, 2020 3:02 am
by joaquinain
You are very wellcome.

Of course here you have the link:

Response 329

You can move the post as you mention, the credits goes to the other guy in the other forum, but maybe more people can upgrade his machines with the tip.

Best regards.

Re: Slow SAMBA transfers. Odroid XU4. + FIX

Posted: Sun Jul 19, 2020 10:54 pm
by sebascvl
hello, i have been reading all your solutions, but its very confusing, since im new to the raspberry pi stuff. aparently to fix the problem you should change a line of code within the samba program, would yall mind explaining in a little more detail what i need to do, it would be much apreciated. thanks

Re: Slow SAMBA transfers. Odroid XU4. + FIX

Posted: Mon Jul 20, 2020 9:08 pm
by Joulinar

the line would need to be changed on SAMBA config file (/etc/samba/smb.conf) and not on the samba program ;)