Koozali.org: home of the SME Server

Slow SAMBA response with WinXP client

Graeme Fleming

Slow SAMBA response with WinXP client
« on: January 14, 2003, 08:53:31 PM »
Hi all

I have a client running 5.1.2 (fully patched) as a server for a small network.  The whole system works fine with one exception.  When the new WinXP box loads the MYOB data file from the samba share (mapped to a drive letter for convenience) it takes a long time to load (40MB file takes about 2 minutes to load).  The Win98 boxes load it in about 10-20 secs.

Any thoughts anyone

Greg Zartman

Re: Slow SAMBA response with WinXP client
« Reply #1 on: January 14, 2003, 09:08:06 PM »
Graeme,

There have been numerous improvements/bug fixes to Samba since the version that comes with SME 5.1.2.  Many off these improvements address Win XP issues.

The first thing I'd do is upgrade Samba to at least ver.  2.2.5.  I have the Samba rpms for such an upgrade on my website:  http://www.leiinc.com/repository/Linux/Mitel_SME_Server/Contribs/Samba/

Regards,

Greg Zartman

ClaudioG

Re: Slow SAMBA response with WinXP client
« Reply #2 on: January 14, 2003, 09:11:17 PM »
What version of XP?

i) test this:

Create a text file on the server put this into it:
--------------------------------------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"SizReqBuf"=dword:0000ffff
--------------------------------------------------------------------------------
Save the file as WHATEVER.REG not WHATEVER.TXT

Then double click on the file to apply the setting (once again on the SERVER not the pc).

What this does is it sets the DIR commad's buffer from 14000 to 65000. This fix works on NT/2000/XP.

ii) Play around MTU parameter (see q314053 from microsoft)

Hi
ClaudioG

Bill Talcott

Re: Slow SAMBA response with WinXP client
« Reply #3 on: January 14, 2003, 09:15:37 PM »
By default, XP also searches network computers for shared printer and scheduler info. You can turn this off with a registry setting, though I don't know it off the top of my head.

Graeme Fleming

Re: Slow SAMBA response with WinXP client
« Reply #4 on: January 14, 2003, 11:40:56 PM »
Thanks for the response everyone I will work through them over the next coupla days when back at the client site.

BTW - Bill is correct about the registry settings so I figured I'd post the info here in case anyone else needs it :-)

SNIP

When you browse a Windows 95, 98 or Me machine from a Windows 2000 or XP computer extra time is taken to determine if any scheduled tasks or printers are enabled on the destination computer.

Open the registry and find the keys below.

To disable checking for scheduled tasks delete the {D6277990-4C6A-11CF-8D87-00AA0060F5BF} sub-key.

To disable checking for printers delete the {2227A280-3AEA-1069-A2DE-08002B30309D} sub-key.

The change should take effect immediately.

ENDSNIP

Graeme Fleming

Re: Slow SAMBA response with WinXP client
« Reply #5 on: January 15, 2003, 10:10:19 PM »
This Microsoft KB article may also be of some use:

http://support.microsoft.com/?kbid=329170

HTH

NickR

Re: Slow SAMBA response with WinXP client
« Reply #6 on: January 18, 2003, 12:58:06 AM »
It's also worth tuning the socket_options line in smb.conf - here's mine:

socket options = TCP_NODELAY SO_SNDBUF=32768 SO_RCVBUF=32768 IPTOS_LOWDELAY
SO_KEEPALIVE