Hi I have very bad experience with samba performance. I am connected through RJ-45 and I am not using OMNIA to any other function except NAS. I have 2GB RAM.
I have installed 3.6.25-11 samba version.
I have HDD ST4000DM004-2CV104
Sometimes it runs 30MB/s but most of the time it runs at 75kB/s. I have on the disk only big file, not small one.
When I login through SSH , smbd -F takes 100%CPU
it did not help when I restart service.
do you have any idea why it is not working
Thanks for help
Some tips https://wiki.samba.org/index.php/Performance_Tuning ]. If you can post your actual smb.conf (ie. /var/etc/smb.conf ) it will be handy >> interesting options from smb.conf file: smb encrypt, socket options, max protocol, security, min recievefile size.
Samba 3.6 is really old.
Can you try to run a more recent version of samba on an lxc-guest?
When I do that, I don’t have any problems with transfer speed.
I’m using Debian stable as the guest.
… just a note , run only one samba-server. Having one in TOS and second in lxc might bring some extra issues. Ideally one samba server running under TOS and samba-client inside lxc (… you can share mounts between host/guest machines directly using unix or/and lxc tools.).
Regarding “sometimes” , maybe it is not related, but i faced some issues with samba when i plugged/unplugged my “work” laptop to/from my network. (after some time, i found that problem was samba master election)