[Samba] Big performance difference between smbclient put/get

andy liebman andyliebman at aol.com
Thu Apr 13 11:02:30 GMT 2006


henke at mac.se wrote:
> Hi list,
> 
> I'm using Samba 3.0.21 on a FC4 box.
> 
> When copying files using smbclient I get huge speed differences between 
> put and get commands.
> 
> smb: \> put backup.tar
> putting file backup.tar as \backup.tar (543.0 kb/s) (average 543.0 kb/s)
> smb: \> get backup.tar
> getting file \backup.tar of size 31549440 as backup.tar (7681.4 kb/s) 
> (average 7681.4 kb/s)
> smb: \> put backup.tar
> putting file backup.tar as \backup.tar (512.5 kb/s) (average 527.3 kb/s)
> smb: \>
> 
> 
> Get => 7681.4 kb/s
> Put => 530 kb/s
> 
> Any reason why?
> 

Any idea how your socket buffers are set in smb.conf? That can make a 
huge difference in my experience. so_rcvbuf and so_sndbuf


More information about the samba mailing list