Samba (smbfs) performance problem

Maier Gerfried moali at sbox.tugraz.at
Fri Jan 18 08:50:14 GMT 2002


Thank you for your fast and informative answer!

Urban Widmark wrote:

> Part of the problem is that cp checks for the best blocksize and smbfs
> tells it that it is 512 bytes. Using 'dd' allows you to specify the size
> of the blocks, so try this and see if you get better performance on "put":
>
> dd if=srcfile of=/mnt/smb/outfile bs=4096

Wow, the difference is enormous. (Somewhere around a factor 4!)

Is there any way to make smbfs tell, that 4096 is the optimum size?
(Somewhere in the kernel sources)

Thanks,
Maier Gerfried




More information about the samba mailing list