[Samba] Odd transfer speed issue

Jeremy Allison jra at samba.org
Fri Jan 18 22:00:05 GMT 2008


On Fri, Jan 18, 2008 at 06:46:19PM -0000, Will Payne wrote:
> Hi all,
> 
> I'm seeing slow transfers to/from my samba server. I just tried to copy a 
> 270MB file from a samba share to an XP machine. At first, the estimated 
> time displayed as 141 minutes :(
> 
> The odd thing is that if I then flood-ping from the server (in this case, I 
> pinged my dsl router), the transfer completes in about 10 seconds. Hitting 
> F5 repeatedly when browsing a share on the server also causes an increase 
> of speed. I seem to get *more* throughput when there's a higher load.. 
> Watching a video off a samba share is quite choppy and keeps stopping but 
> leaving the ping running seems to fix it.
> 
> Any ideas? My google powers fail me..

Looks like an issue at the TCP level, or maybe a network device driver
issue on the Windows box. Try setting "use sendfile = no" to try and
change the TCP behaviour, or update the client network driver.

Jeremy


More information about the samba mailing list