André Weidemann
2003-Jun-27 20:59 UTC
[Samba] big performance difference between Samba and FTP
Hi, I have been using Samba for a while but have not been able to get it to work as fast as possible. While I manage to transfer 9MB/s (read/write) over a 100Mbit network using FTP I can only get up to 5.5MB (read/write) using Samba. I have Samba-2.2.8a installed under Suse 8.0. The machine is a Celeron 600 with 512 MB RAM and the drive I am copying the data to and from is an IDE drive (60GB IBM). When transferring files using Samba, the CPU usage for the smb process goes up to 60% but never maxes out the CPU. Since I pretty much rely on Windows shares on my network I would like to know what the cause could be for the significant performance loss under Samba. Increasing "SO_SNDBUF=" or "SO_RCVBUF=" did not improve performance, "deadtime=" and "max xmit=" also did not change anything significantly. The smb.conf globals look as follows: [global] log level = 0 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 deadtime = 15 max xmit=65535 client code page = 437 workgroup = HS18 server string = File-Server interfaces = eth2 encrypt passwords = Yes os level = 99 preferred master = Yes domain master = Yes wins support = Yes hosts allow = 192.168.0.0/255.255.255.0 printing = lprng Any help would be greatly appreciated, Andr?. -- If all you have is a hammer, every problem looks like a nail.