LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-16-2003, 07:37 PM   #1
wdingus
Member
 
Registered: Aug 2001
Location: Kingsport, TN
Distribution: RHEL & FC
Posts: 267

Rep: Reputation: 30
Samba and Win XP Speed Issues


OK, surely someone has resolved the speed issues with Windows XP. My company sells a lot of Linux servers and Windows Client PCs. I've not tracked down if it's a recent service pack or security fix or some other *parth* from MS that causes this but it is quite annoying. Multiple recent servers and WinXP PCs with all patches applied to both have Samba performance that is nowhere near where it should be, or where it is on Win98 or Win2K client. It appears to be XP specific...

Stock RH9 with all errata/patches applied, RH 2.2.7 SAMBA. Running on good hardware (SuperMicro servers with Intel Gigabit onboard) and Dell client PCs.

I've researched a lot... SO_RCVBUF adjusted high and low. IPTOS LOWDELAY and various other similar changes. The WinXP "webclient" service is disabled, etc...

1 server and 2 WinXP PCs attached to a 100mbit switch. I shared a drive on one of the XP machines and have a writable share on the Lniux machine. Oh, SAMBA is being a PDC and both PCs are joined to it. Anyway, moving files to/from the server as compared to to/from the shared drive on one of the PCs result in MUCH worse speeds for SAMBA. Using smbclient to put a file from the server to a shared drive on an XP box compared to a DOS FTP get of the same file to the same PC differ by 10X in speed.

2 different servers and different client PCs as well. I've tried SAMBA3 as well. Got the rawhide rpms for 3.0 which do now support a new file-sharing method Microsoft has dreamed up that uses TCP port 445(?). No speed change at all. With SAMBA3 my PDC setup was kind of broke so I reverted back since the machines needed to go into production. The NAME$ machine accounts weren't being automatically created when joining a PC to the domain.. I've not read up on winbind enough yet and that'll probably be the fix for it.

But then... Any ideas or suggestions on speed? Surely there's a magic bullet out there somewhere? :-)

Thanks!

PS. Almost forgot. The QOS Packet Scheduler in XP had a lot to do with this but deleting it still doesn't resolve the speed problem fully. I deleted it and that sped things up to the point that the SAMBA server xfers at maybe twice as slow as XP<->XP now. Oh, and the QOS Packet Scheduler of course only affected speed from XP to SAMBA, left XP to XP alone. Figures...
 
Old 10-16-2003, 08:16 PM   #2
killjoy
Member
 
Registered: Mar 2001
Location: Atlanta,GA
Distribution: Red Hat, Mandrake
Posts: 66

Rep: Reputation: 15
I've seen the same problem on our network. I've heard Samba 3 fixes all this, but I haven't had a chance to try it out yet.
I did notice that machines we upgraded to XP from 2k didn't suffer from the speed problem, though-hmmm...
(I don't run Win at home at all any more, and I'm a little over-cautious about changing our production systems at work...)
BTW: I've been told there's a registry entry that persists for QOS, even if you delete it off the system. I'm not sure what it is, but I could probably dig it up...
 
Old 10-19-2003, 04:14 AM   #3
BruceCadieux
Member
 
Registered: Apr 2002
Location: Wales MA.
Distribution: openSuSE 11.1
Posts: 409

Rep: Reputation: 32
On the XP machines.

regedit

Browse to

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

Create a new DWORD value called

SizRegBuf

with a dword value of 0000ffff

This will speed up all connections to the machine.

It is a fix for large directory access speeds.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pb win fan speed stefdef Mandriva 4 11-20-2004 07:14 PM
Win->Samba works, Samba->Win does'nt work outburst Linux - Networking 2 10-30-2003 08:31 AM
win xp won't login to samba after reboot but win 2k works great davidekholm Linux - Networking 1 04-04-2003 09:44 AM
win xp won't login to samba but win 2k works great mrtwice Linux - Networking 4 03-28-2003 01:27 PM
Setting up Samba with SuSe 8.1 and Win 2K/Win XP Pro crstine Linux - Networking 1 12-11-2002 06:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration