[Samba] Poor performance between linux boxes using Samba 3

Jeremy Allison jra at samba.org
Mon Oct 10 22:36:12 GMT 2005

On Mon, Oct 10, 2005 at 11:31:06PM +0100, Roger Lucas wrote:
> Hi Jeremy,
> Thanks for the info.  I ran another test with a 100MB file as below:
> 	mount -t smbfs //machineb/share /mnt/machineb ....
> 	cp test-100mb.dat /mnt/machineb/test1.dat
> 	umount /mnt/machineb
> The above copy took 60 seconds.
> 	mount -t cifs //machineb/share /mnt/machineb ....
> 	cp test-100mb.dat /mnt/machineb/test2.dat
> 	umount /mnt/machineb
> This copy took just 20 seconds.
> I am running kernel 2.6.8 which apparently has CIFS built in.
> I am amazed by the performance increase, so CIFS definitely seems the way to
> go.  Is there a deep reason for why this is, as CIFS seems to be part of the
> SAMBA team (http://linux-cifs.samba.org/) so it seems weird that they have
> both the smbclient and CIFS client with such massive performance
> differences....

You're confusing smbfs with smbclient. smbfs is an old, rather unmaintained
part of the Linux kernel, smbclient is the ftp command-line like client
shipped with Samba.

Steve tests CIFSFS with modern versions of Samba and works dilligently
on performance issues.


More information about the samba mailing list