943,865 Members | Top Members by Rank

  • Networking Discussion Thread
  • Unsolved
  • Views: 13562
  • Networking RSS
Feb 19th, 2005
0

Slow directory listing

Expand 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!
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
jtange is offline Offline
1 posts
since Feb 2005
Mar 23rd, 2005
0

Re: Slow directory listing

Quote 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
Reputation Points: 10
Solved Threads: 0
Newbie Poster
garycib is offline Offline
4 posts
since Mar 2005
Mar 24th, 2005
0

Re: Slow directory listing

An other thing you can do is break that huge directory into smaller ones, even if just 250 per directory, it would help.
Reputation Points: 18
Solved Threads: 0
Junior Poster
Libertate is offline Offline
120 posts
since Jan 2005
May 28th, 2005
0

Re: Slow directory listing

Quote 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....
Reputation Points: 10
Solved Threads: 0
Newbie Poster
waynemcleod is offline Offline
3 posts
since May 2005
May 28th, 2005
0

Re: Slow directory listing

Yep, that would fix it, but in my current situation its not an option (and it should work).
Reputation Points: 10
Solved Threads: 0
Newbie Poster
waynemcleod is offline Offline
3 posts
since May 2005
May 29th, 2005
0

Re: Slow directory listing

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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
waynemcleod is offline Offline
3 posts
since May 2005
May 30th, 2005
0

Re: Slow directory listing

your nic card should work man ..
Reputation Points: 10
Solved Threads: 0
Light Poster
mohsin is offline Offline
25 posts
since May 2005
May 30th, 2005
0

Re: Slow directory listing

Quote 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.
Reputation Points: 18
Solved Threads: 0
Junior Poster
Libertate is offline Offline
120 posts
since Jan 2005
Jan 2nd, 2007
0

Re: Slow directory listing

Click to Expand / Collapse  Quote 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!
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.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
HansFromHolland is offline Offline
1 posts
since Jan 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Networking Forum Timeline: Small Business Server
Next Thread in Networking Forum Timeline: Help!!





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC