[Samba] Uploading 64KiB files getting slower and slower

陈 方进 sharingfun520 at outlook.com
Thu Jan 18 08:20:51 UTC 2024


As the diagram shown,the upload consist of 100,000 files that each of them is 64KiB,and the upload speed dropped from 8MB/s to 900KB/s.
The smbclient is Windows Server 2012 R2 with SSD,and the smbserver is CentOS 7 with SSD,too.None of them have more than 40% cpu workload,and they are on a gigabit LAN with a ping latency of 0.1 second.When I copy these files on localhost or download from smbserver ,the speed is about 30MB.By the way,the file system block is 128KiB.
I think the hardware dothing with such issue,but how to improve samba's performance in such situation ? I didn't change the default smb.conf,just configure the share,and log.smbd have no ERROR.


More information about the samba mailing list