[Samba] Re: forcing XP clients to use CIFS
Jason Cox
jason.cox at multiskilled.com.au
Wed Sep 5 00:34:40 GMT 2007
Jax,
I had the same problem but its not a samba issue. The problem is in
the old tcp/ip setting in windows. Back in the beging windows had a small
tcp window size and it never changed. By adding the following to the
registry you can increase it to something more apropriate for 100M nic's
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"GlobalMaxTcpWindowsSize"=dword:00020148
"TcpWindowsSize"=dword:00020148
"Tcp1323Opts"=dword:00000003
This help me no end with my backups. Increased network thru put by a factor
of 30.
So give it ago and let me know.
http://rdweb.cns.vt.edu/public/notes/win2k-tcpip.htm will explain it a bit
more.
Regards
Jason Cox
Site Reliability Engineer
Multiskilled Resources Australia Pty Ltd
ph 02 4908 0000 (office)
ph 02 4908 0015 (direct)
mob 0423 600 156
fx 02 4942 4125
email jason.cox at multiskilled.com.au
-----Original Message-----
From: samba-bounces+jason.cox=multiskilled.com.au at lists.samba.org
[mailto:samba-bounces+jason.cox=multiskilled.com.au at lists.samba.org] On
Behalf Of Jax
Sent: Wednesday, 5 September 2007 4:17 AM
To: Matt Seitz (matseitz)
Cc: samba at lists.samba.org
Subject: Re: [Samba] Re: forcing XP clients to use CIFS
Matt Seitz (matseitz) wrote:
> "Andrew Bartlett" <abartlet at samba.org> wrote in message
> news:<1188454373.22770.155.camel at naomi>...
>
>> On Wed, 2007-08-29 at 21:48 +0200, Jax wrote:
>>
>>> I guess there is a registry value for it. As I noticed winxp try to
>>>
> use
>
>>> smbfs first not cifs. In linux it's easier because you can choose
>>>
> when
>
>>> you mount your shares.
>>>
>> smbfs v cifsvfs is a matter of two implementations of the protocol
>> client, that happen to exist in the Linux Kernel.
>>
>> Windows XP only has one CIFS client, there is nothing to choose.
>>
>
> Maybe Jax meant getting the Windows CIFS client to always use SMB Direct
> Host (TCP port 445), instead of using NetBIOS/TCP (TCP port 139)?
>
No I just thought there is a switch for it. Because in linux when I
mount a share with CIFS, I can use almost the whole link speed (100mbit)
when I copy files but when I mount the share with smbfs then its average
3-7mbit/sec and I experience the same on XP.
Jax
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba
mailing list