----- Original Message -----
From: "Orlando Andico" <[EMAIL PROTECTED]>
To: "Philippine Linux Users' Group Mailing List" <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 11:38 PM
Subject: Re: [plug] Report: Optimizing Samba
> Windoze is NOT a good way to test network speed, because Win9x sets the
> TCP window size too low.
true but you can tweak its registry if you want to test windows 9x for
network speed.
jijo,
actually the problem is not on the samba but on the tcp window size
value for a given host. by default, linux default tcp windows size both for
receive and send is 64K while windows is 8k.
throughput of a given host depends on tcp window size. throughput of a
*sending host* depends on the tcp *send* window size and throughput of a
*receiver host* depends on the tcp *receive* window size.
to increase windows 9x tcp window size, add this in your registry:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP
DefaultRcvWindow = 16-bit number
Data Type: DWORD
For Windows 98, the Data Type is a String value.
Specifies the default receive window advertised by TCP. The default is
8192.
take note that for windows 98, data type is string and not dword. so,
for windows 98, create a string value of 65535 for a name of
DefaultRcvWindow.
and also dont forget to change SO_SNDBUF and SO_RCVBUF into 65535 in
your samba config file to match your linux default values.
furthermore, aside from this, there are lots of parameters to tweak in
tcp/ip stack to further increase and maximize your throughput.
fooler.
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]