[NTLUG:Discuss] slow network speeds
Scott Walters
swalters at flash.net
Fri Sep 17 09:22:55 CDT 1999
At 03:09 PM 9/13/99 -0500, you wrote:
>I'm running slackware 4.0 using the 2.2.11 kernel, samba, no X Windows.
>
>When I ftp from Win98 to Linux, I get over 950 Kbytes / sec.
>But when I ftp the other way, Linux to Win98, the transfer rate drops below 100 Kbytes / sec.
>The same ratios exist when using samba instead of ftp to transfer files.
>The hub collision light is not lighting up during the slow transfer.
>
>Any ideas on why the one direction is so slow?
>
As a follow up, I found a solution.
>From the samba docs:
The socket option TCP_NODELAY is the one that seems to make the
biggest single difference for most networks. Many people report that
adding "socket options = TCP_NODELAY" doubles the read performance of
a Samba drive. The best explanation I have seen for this is that the
Microsoft TCP/IP stack is slow in sending tcp ACKs.
This setting did the trick.
Scott
More information about the Discuss
mailing list