Slow directory listing

Reply

Join Date: Feb 2005
Posts: 1
Reputation: jtange is an unknown quantity at this point 
Solved Threads: 0
jtange jtange is offline Offline
Newbie Poster

Slow directory listing

 
0
  #1
Feb 19th, 2005
I have 5 computers running Windows XP Pro SP2 in a workgroup. All pc's are connected with Linksys 1 GB NIC's to a 16 port Linksys Gigabit switch. One of the computers is acting a "file server". On this machine is a shared directory where all the office MS Word documents are stored. This directory has 1700 subdirectories containing 25000 files, so it's fairly large.

Access to this directory is very slow whether browsing with Windows Explorer or using the Open dialog in MS Word 2000. The wait to see the file listing is taking around 40-45 seconds.

Any ideas on how to speed this up? Changing the directory structure would be a last-resort solution. Is this an Indexing Service problem (yes it's turned on)? Any ideas on where to start solving this would be greatly appreciated!
Reply With Quote Quick reply to this message  
Join Date: Mar 2005
Posts: 4
Reputation: garycib is an unknown quantity at this point 
Solved Threads: 0
garycib garycib is offline Offline
Newbie Poster

Re: Slow directory listing

 
0
  #2
Mar 23rd, 2005
Originally Posted by jtange
I have 5 computers running Windows XP Pro SP2 in a workgroup. All pc's are connected with Linksys 1 GB NIC's to a 16 port Linksys Gigabit switch. One of the computers is acting a "file server". On this machine is a shared directory where all the office MS Word documents are stored. This directory has 1700 subdirectories containing 25000 files, so it's fairly large.

Access to this directory is very slow whether browsing with Windows Explorer or using the Open dialog in MS Word 2000. The wait to see the file listing is taking around 40-45 seconds.

Any ideas on how to speed this up? Changing the directory structure would be a last-resort solution. Is this an Indexing Service problem (yes it's turned on)? Any ideas on where to start solving this would be greatly appreciated!
I had a similar problem which I cured by disabling the WebClient service on all computers on the LAN. Hope this helps
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 120
Reputation: Libertate is an unknown quantity at this point 
Solved Threads: 0
Libertate Libertate is offline Offline
Junior Poster

Re: Slow directory listing

 
0
  #3
Mar 24th, 2005
An other thing you can do is break that huge directory into smaller ones, even if just 250 per directory, it would help.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 3
Reputation: waynemcleod is an unknown quantity at this point 
Solved Threads: 0
waynemcleod waynemcleod is offline Offline
Newbie Poster

Re: Slow directory listing

 
0
  #4
May 28th, 2005
Originally Posted by garycib
I had a similar problem which I cured by disabling the WebClient service on all computers on the LAN. Hope this helps
I have a similar problem with a small network using XP pro as a server with a number of Win98 and XP clients. The server was Win98, but was upgraded to XP, after which the XP clients reported very slow directory listing times. The directory structure was very flast with 1000s of small word files. The fix in this case (after much head scratching) was to organise the files with a hierachial structure.

On another network, I discovered a similar issue (still looking at this one). XP workstations have just been introduced. The server is NT4 workstation. One old dos app has a folder with 9000 files in it. The directory takes nearly 60 seconds to list from an XP workstation, but on a few seconds from a Win98 station. Disabling AV etc. makes no difference, and the XP workstation hardware is far superior to the Win98 ones. I found that if I put the same data on a Win 2000 server its fine, but to a Win 2003 server, I get the same problem. I aslso tried XP to XP and got the slow listing problem. If I do a dos dir command, the files listing is jerky. I'm guessing its something that XP negotiates with some systems, and not others.
Almost forgot, I tried the same directory with a 2003 server and a 2000 workstation and it was fine (ie. fast). So, the common element appears to be XP workstation to everything except win 2000 server....
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 3
Reputation: waynemcleod is an unknown quantity at this point 
Solved Threads: 0
waynemcleod waynemcleod is offline Offline
Newbie Poster

Re: Slow directory listing

 
0
  #5
May 28th, 2005
Yep, that would fix it, but in my current situation its not an option (and it should work).
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 3
Reputation: waynemcleod is an unknown quantity at this point 
Solved Threads: 0
waynemcleod waynemcleod is offline Offline
Newbie Poster

Re: Slow directory listing

 
0
  #6
May 29th, 2005
OK got it!

Its related to the TCP ack timeout. It appears that for reasons unknown, an ack is not being sent to the server as expected. A 200ms timeout is used before the client before the ack, and off it goes again merrily for a while.

I installed the change in the link below, to the XP client only (ie. didn't try it on the server side).

Look at http://support.microsoft.com/kb/328890

I am somewhat suspicious that the network cards, link speed and general machine performance impact on the issue. The basis being that a change in server nic on my 2003 test system resulted in even poorer timing (ie. 60 seconds to over 120 seconds). I'm guessing that a slower nic may benefit this problem (but hey, who wants to fix problems with slow hardware!).

Its also possible, that implementing this fix will result in slower network performance for the client on the basis that an ack is now sent for every packet.
Reply With Quote Quick reply to this message  
Join Date: May 2005
Posts: 25
Reputation: mohsin is an unknown quantity at this point 
Solved Threads: 0
mohsin mohsin is offline Offline
Light Poster

Re: Slow directory listing

 
0
  #7
May 30th, 2005
your nic card should work man ..
Reply With Quote Quick reply to this message  
Join Date: Jan 2005
Posts: 120
Reputation: Libertate is an unknown quantity at this point 
Solved Threads: 0
Libertate Libertate is offline Offline
Junior Poster

Re: Slow directory listing

 
0
  #8
May 30th, 2005
Originally Posted by waynemcleod
OK got it!
[...]
I am somewhat suspicious that the network cards, link speed and general machine performance impact on the issue. The basis being that a change in server nic on my 2003 test system resulted in even poorer timing (ie. 60 seconds to over 120 seconds). I'm guessing that a slower nic may benefit this problem (but hey, who wants to fix problems with slow hardware!).

Its also possible, that implementing this fix will result in slower network performance for the client on the basis that an ack is now sent for every packet.
Try to lock the NIC speed. Some cheaper OEM cards had a serious problem with speed and directional negotiating, and after every packet try to renegotiate the speed and the direction. i.e. lock it at 100Mbps and bi-directional.
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 1
Reputation: HansFromHolland is an unknown quantity at this point 
Solved Threads: 0
HansFromHolland HansFromHolland is offline Offline
Newbie Poster

Re: Slow directory listing

 
0
  #9
Jan 2nd, 2007
Originally Posted by jtange View Post
I have 5 computers running Windows XP Pro SP2 in a workgroup. All pc's are connected with Linksys 1 GB NIC's to a 16 port Linksys Gigabit switch. One of the computers is acting a "file server". On this machine is a shared directory where all the office MS Word documents are stored. This directory has 1700 subdirectories containing 25000 files, so it's fairly large.

Access to this directory is very slow whether browsing with Windows Explorer or using the Open dialog in MS Word 2000. The wait to see the file listing is taking around 40-45 seconds.

Any ideas on how to speed this up? Changing the directory structure would be a last-resort solution. Is this an Indexing Service problem (yes it's turned on)? Any ideas on where to start solving this would be greatly appreciated!
Try adding this registry entry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters

Create a new DWORD key: SizReqBuf .
Set the value (in decimal): 14596

Worked supperb in all cases I tried it om several systems including XP embedded, W2K and Win-XP.

Hope you have succes with it too.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Networking Hardware Configuration Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC