On 7 Jun 2002, Lee wrote:
> I'm going to trying putting a 100mb switch in first , and see if
> it fixes the problem when both machines have a 'clear packet path'
> between each other, i suspect it probably the NT shitty ip stack not
> playing correctly with halfduplex 10/mb hub's....
Erm...
The IP stack doesn't play with the networking directly. If you get decent
throughput one way, then the network connection at both ends must be
working correctly (except in unusual circumstances where one or two cores
of a connection are dodgy).
Going back to the original message:
> if you pull a file from the server(suse 7.3/samba 2.4.4) to a client
> (win2k sp2) I get the expected transfer speed, if I try push a file from
> client to server, then I get very very low speed (30k a second!).
> Apparently I've been reading it may have something to do with the way
> win2k (yuk!) handles tcp ACK's ...
Sort of. Apparently (and this varies depending on which service
packs/bugfixes are installed, what phase the moon is in etc) some W2K IP
stacks can be "slow" (this is relative) at returning TCP ACK packets. Of
course, ACKs must be exchanged _no matter which way_ the bulk data flow is
going so that should affect the traffic bidirectionally...
You'll need to check a few things, not least (as suggested in the default
commented /etc/smb.conf):
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
I would recommend reading the 'speed.txt' which comes with the samba dist.
It's very good :)
man smb.conf is also useful. Note however that YMMV with all the tweaks,
since they depend a lot on the local environment. I especially like the
amount of quips in the various FAQs and other docs which say "you might
raise, lower, or not affect your performance at all by changing this" ;-)
Let us know how you get (or got!) on...
Graeme
--------------------------------------------------------------------
http://www.lug.org.uk http://www.linuxportal.co.uk
http://www.linuxjob.co.uk http://www.linuxshop.co.uk
--------------------------------------------------------------------
This archive was generated by hypermail 2.1.3 : Tue 11 Jun 2002 - 13:43:59 BST