Buda Gábor
2003-Nov-25 23:30 UTC
[Samba] very low speed local network browsing from win xp clients
Hi Everyone there! We have a very annoying problem since several months when browsing the local network (workgroup) from win xp clients (from win98 clients it's almost OK). The machines in the workgroup appearing very slooow (about 15-20 sec), and this value doesn't change even in the 2nd or 3rd browse. We have 1 linux (debian 2.4.21 pre 3) pc, running the samba (2.2312) server, about 15 win98 clients, 60 win xp clients, 1 win nt server. When I shutdown our win nt server, the problem doesn't change. When I shutdown our samba server, the browsing of our workgroup become very fast. Here is my smb.conf file, perhaps You can help me to solve this problem. Thank You. ; ; /etc/smb.conf ; ; Sample configuration file for the Samba suite for Debian GNU/Linux ; ; Please see the manual page for smb.conf for detailed description of ; every parameter. ; [global] domain master = no local master = yes preferred master = yes passwd program = /usr/bin/passwd %u printing = bsd syslog only = no dns proxy = no null passwords = yes protocol = NT1 name resolve order = lmhosts host wins bcast strict sync = no socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192 character set = iso8859-2 short preserve case = yes printcap name = /etc/printcap invalid users = root max log size = 1000 interfaces = 192.168.32.253/255.255.255.0 debug level = 0 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n preserve case = yes security = user unix password sync = no workgroup = vorosko server string = %h server (Samba %v) syslog = 0 client code page = 852 netbios name = SERVER guest account = nobody load printers = no os level = 255 socket address = 192.168.32.253 [homes] comment = Home Directories browseable = no delete readonly = yes create mode = 0755 writeable = yes directory mode = 0755 [kozos] delete readonly = yes comment = kozos force create mode = 777 create mode = 777 force directory mode = 777 writable = yes directory mode = 777 path = /samba/kozos force user = nobody . . . Best regards Gabor Buda Hungary
James Courtier-Dutton
2003-Nov-26 00:46 UTC
[Samba] very low speed local network browsing from win xp clients
Buda G?bor wrote:> Hi Everyone there! > > > We have a very annoying problem since several months when browsing the local > network (workgroup) from win xp clients (from win98 clients it's almost OK). > The machines in the workgroup appearing very slooow (about 15-20 sec), and > this value doesn't change even in the 2nd or 3rd browse. We have 1 linux > (debian 2.4.21 pre 3) pc, running the samba (2.2312) server, about 15 win98 > clients, 60 win xp clients, 1 win nt server. When I shutdown our win nt > server, the problem doesn't change. When I shutdown our samba server, the > browsing of our workgroup become very fast. > > Here is my smb.conf file, perhaps You can help me to solve this problem. > Thank You. >I don't know if it will help, but try changing the settings on the Network card of the Windows XP clients. Go into advanced settings and change "Duplex" from "Auto" to "Half Duplex". I have found that samba functions quite badly with Windows clients when network packets start getting lost. You would only need to try the change to "half duplex" on one Windows XP client to see if it helps for that one client. I am still investigating ways to improve samba under these packet loss conditions, but it would be nice to see if changing to "half duplex" helps others like it helped me. Cheers James
John H Terpstra
2003-Nov-26 05:12 UTC
[Samba] very low speed local network browsing from win xp clients
Hi, Suggest you make the changes shown. Let me know how it goes. - John T. On Wed, 26 Nov 2003, [iso-8859-2] Buda G?bor wrote:> Hi Everyone there! > > > We have a very annoying problem since several months when browsing the local > network (workgroup) from win xp clients (from win98 clients it's almost OK). > The machines in the workgroup appearing very slooow (about 15-20 sec), and > this value doesn't change even in the 2nd or 3rd browse. We have 1 linux > (debian 2.4.21 pre 3) pc, running the samba (2.2312) server, about 15 win98 > clients, 60 win xp clients, 1 win nt server. When I shutdown our win nt > server, the problem doesn't change. When I shutdown our samba server, the > browsing of our workgroup become very fast. > > Here is my smb.conf file, perhaps You can help me to solve this problem. > Thank You. > > > ; > ; /etc/smb.conf > ; > ; Sample configuration file for the Samba suite for Debian GNU/Linux > ; > ; Please see the manual page for smb.conf for detailed description of > ; every parameter. > ; > > [global] > domain master = no > local master = yes > preferred master = yesComment out the above 3 lines.> passwd program = /usr/bin/passwd %u > printing = bsd > syslog only = no > dns proxy = no > null passwords = yes > protocol = NT1 > name resolve order = lmhosts host wins bcastname resolve order = bcast host You do not have a WINS server, nor have you indicated that you have manually set up lmhosts, so do not use them. Use Boradcast first, since DNS will not help you to resolve NetBIOS names.> strict sync = no > socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 > SO_RCVBUF=8192 > character set = iso8859-2 > short preserve case = yes > printcap name = /etc/printcap > invalid users = root > max log size = 1000 > interfaces = 192.168.32.253/255.255.255.0 > debug level = 0 > passwd chat = *Enter\snew\sUNIX\spassword:* %n\n > *Retype\snew\sUNIX\spassword:* %n\n > preserve case = yes > security = user > unix password sync = no > workgroup = vorosko > server string = %h server (Samba %v) > syslog = 0 > client code page = 852 > netbios name = SERVER > guest account = nobody > load printers = no > os level = 255os level = 33 It does not help to set this any higher.> socket address = 192.168.32.253Comment out the socket address line.> > [homes] > comment = Home Directories > browseable = no > delete readonly = yes > create mode = 0755 > writeable = yes > directory mode = 0755 > > [kozos] > delete readonly = yes > comment = kozos > force create mode = 777 > create mode = 777 > force directory mode = 777 > writable = yes > directory mode = 777 > path = /samba/kozos > force user = nobody > > . > . > . > > > > > > Best regards > > Gabor Buda > Hungary > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >-- John H Terpstra Email: jht@samba.org
Buda Gábor
2003-Nov-28 00:49 UTC
[Samba] very low speed local network browsing from win xp clients
It's WORKS!!! Our 1 year problem is no longer exist!!! The speed of browsing our workgroup is FAAAST now! With Your help and a full server restart the problem is solved. (I'm very HAPPY now!!!) :-) The smb.conf file now: [global] ; domain master = no ; local master = yes ; preferred master = yes passwd program = /usr/bin/passwd %u printing = bsd syslog only = no dns proxy = no null passwords = yes protocol = NT1 name resolve order = bcast host strict sync = no ; socket options = TCP_NODELAY IPTOS_LOWDELAY character set = iso8859-2 short preserve case = yes printcap name = /etc/printcap invalid users = root max log size = 1000 interfaces = 192.168.32.253/255.255.255.0 debug level = 0 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n preserve case = yes security = user unix password sync = no workgroup = vorosko server string = %h server (Samba %v) syslog = 0 client code page = 852 netbios name = SERVER guest account = nobody load printers = no os level = 33 ; socket address = 192.168.32.253 Best regards to everyone Gabor Buda Hungary ps.: Thanks a lot again (Samba Master) JHT!> -----Original Message----- > From: John H Terpstra [mailto:jht@samba.org] > Sent: Friday, November 28, 2003 12:50 AM > To: Buda G?bor > Subject: RE: [Samba] very low speed local network browsing > from win xp clients > > > On Fri, 28 Nov 2003, [iso-8859-2] Buda G?bor wrote: > > > I removed the "socket options" line, but the problem is still exist. > > > > When I double click on 'Microsoft Windows Network' on my XP client, > > even our workgrup 'vorosko' is appearing very slow. Isn't > it a "who is > > the master browser & where is the browse list" problem? > > If you are not using WINS it will take at least 15 minutes > for the network to stabilize. Running WINS solves that. To > set up WINS you need to add to your smb.conf [globals] section: > > wins support = Yes > > Then restart Samba. > > Now on each Windows client add the IP Address of your Samba > server in the place of the WINS server entry in the TCP/IP > configuration settings. > > You can tell if the Windows client is correctly configured by > checking the contents of the wins.dat file in Samba. You will > find the wins.dat file either in /var/cache/samba, > /var/lib/samba, /var/state, or the /usr/local/samba/var > directory - this depends on your Linux distribution. > > All Windows clients will register as a minimum the > MACHINE<03> name in this file. > > Let me know how this goes for you. > > I live in Salt Lake City, Utah, USA. It's 4:50pm here. > > - John T. > > > It's not cabling problem (it's the 2nd cable I try), and it's not a > > switch problem (it's the 2nd switch I try). It maybe a network card > > problem, but I will test it (and the cross over cable test) later. > > > > Thank again for Your Help. > > > > Gabor > > > > ps.: what time is it at your country? Here in Hungary it's 0:37... > > :-) > > > > > > > > > -----Original Message----- > > > From: John H Terpstra [mailto:jht@samba.org] > > > Sent: Thursday, November 27, 2003 11:46 PM > > > To: Buda G?bor > > > Subject: RE: [Samba] very low speed local network > browsing from win > > > xp clients > > > > > > > > > On Thu, 27 Nov 2003, [iso-8859-2] Buda G?bor wrote: > > > > > > > After login this appears: > > > > > > > > Linux samba 2.4.21-pre3 #4 Sat Jan 25 13:29:19 CET 2003 i686 > > > > unknown > > > > > > Suggest you remove the "socket options" line since the > 2.4 kernel is > > > largely self tuning. If this does not solve your performance > > > problem, I suggest you connect a cross over cable between > the samba > > > server and a client and see how that performs. You may have > > > defective hardware (network card/s, HUB, or cabling). > Please do not > > > take offense at that suggestion, this is a more common > problem than > > > you might think. > > > > > > Cheers, > > > John T. > > > > > > -- > John H Terpstra > Email: jht@samba.org