Very bad performance when copying large files from windows to samba-share

Richard Sharpe rsharpe at
Tue Jun 25 20:22:01 GMT 2002

On Mon, 24 Jun 2002, Esh, Andrew wrote:

> The protocol appears to be operating correctly in the
> "gettingafilefromamigaatawin2" capture. The slowdown is the large time gaps
> between the receiving end ( sending an acknowledgement, and the
> sending end ( sending the next data packet. The gaps at that
> point appear to frequently be as much as two seconds. It looks like the
> sender is busy doing something other than sending. Strangely, this seems to
> occur most often near the end of the transmission of a 64K chunk. This pause
> is absent during the transmission of the last chunk. I wonder if the sender
> is busy in the middle of the transfer with queuing up the next chunk. Slow
> disk access?

Is it possible that the sender has not set TCP_NODELAY and the OS has a 
very long timeout waiting for more data from the application?

Richard Sharpe, rsharpe at, rsharpe at, 
sharpe at

More information about the samba-technical mailing list