Need some speed help - Linux to Win98 is slow

John LeMay jlemay at njmc.com
Tue Sep 21 03:40:09 GMT 1999


I need some help from those folks I've seen on this list with the speed
problems. I noticed while printing to a smb printer from my Linux box
tonight (which I just managed to get running) that the speed is horribly
slow. I did some tests - the results follow.


Transfer from Win98 to Linux
----------------------------
smb: \> get 1mbyte.txt
getting file 1mbyte.txt of size 1024702 as 1mbyte.txt (772.134 kb/s)
(average 772.134 kb/s)

Transfer from Linux to Win98
----------------------------
smb: \> put 1mbyte.txt
putting file 1mbyte.txt as \1mbyte.txt (10.0143 kb/s) (average 10.0143
kb/s)


After adding "socket options = TCP_NODELAY" to smb.conf I got the
following:

Transfer from Win98 to Linux
----------------------------
smb: \> get 1mbyte.txt
getting file 1mbyte.txt of size 1024702 as 1mbyte.txt (814.89 kb/s)
(average 814.891 kb/s)

Transfer from Linux to Win98
----------------------------
smb: \> put 1mbyte.txt
putting file 1mbyte.txt as \1mbyte.txt (9.99796 kb/s) (average 9.99796
kb/s)


As you can see there was a significant improvement in the download
(relative to Linux) speed, however the upload speed didn't change much.
The same two tests with the same Linux box and an NT4 SP4 machine:

smb: \> put 1mbyte.txt
putting file 1mbyte.txt as \1mbyte.txt (719.4 kb/s) (average 719.4 kb/s)

smb: \> get 1mbyte.txt
getting file 1mbyte.txt of size 1024702 as 1mbyte.txt (840.912 kb/s)
(average 840.912 kb/s)

Obviously no problem here.

One oddity - I do see many retransmissions and some "ACK too long
(197ms)" messages on the sniffer when I watch the uploads to Win98. All
three machines are on a local IP only subnet, 10Mbps HDX shared.

Any suggestions would be appreciated!

-- 
John J. LeMay Jr.
NJMC, LLC.
http://www.njmc.com


More information about the samba mailing list