I'm investigation a strange problem in our network. Two Windows XP machines access a file share on a Windows 2000 Server (which is a VMWare ESXi VM). Both are connected to that server via a D-Link DES-1024 R+ unmanaged 10/100MBit switch. One specific software on those machines reads a folder on that share everytime the application receives focus (i.e. Alt-Tab back to its window) with about 4600 files, 6MB total size. Here's the weird part: on one machine (let's call it A) this operation is very quick (<2s), on the other (B) it takes about 13 seconds. This makes the application very frustrating to use. Things I've tried to narrow the problem down so far:
- Compared network settings on both machines. A has completely bog-standard settings, neither static IP nor DHCP makes any difference on B.
- Updated network drivers on B (Intel Pro 1000). No effect.
- Tried the second NIC on B (Intel 100 something). No effect.
- Plugged B into a SMC switch to cut down cable length (about 20 meters to the closest port, then some 40 meters more to the server room upstairs, i.e. now 20 meters to SMC switch, then directly into the port). No effect.
- Played around with disabling TCP offloading, disabling auto-negotiation and diagnostics in the Intel drivers. No effect.
- Used a "LAN SpeedTest" application (which creates a file of e.g. 100MB, copies it to a file share and reads it back) to test raw performance. 50-70 MBit/s throughput can be easily achieved, so it seems to be a problem with accessing many small files vs. raw throughput. Pings are fine too (<1ms, no packet loss).
- Copied the directory to a Windows 2008 R2 server (same VMWare server). No effect.
- Copied the directory to a Synology DiskStation (Linux/Samba, physically separate device). No effect.
- Hooked up B directly to a laptop, with the directory copied to a file share on that laptop. Works as expected now (very quick), so the machine seems to be ok hardware-wise.
- Connected both laptop and machine via the SMC switch. Still works.
- Connected B via the SMC switch to a different (known working) port in a different room, in case the one the machine normally uses is faulty. Switched back to original file share. Problem arises again.
I hope I did not forget anything, but all of the above leads me to the conclusion that somehow, the Intel Ethernet chips have a problem with the D-Link switch (since A works fine, but has an Atheros Ethernet chip, and the problem only arises if B is connected to whichever file share via the D-Link switch). Currently the machine is being used, but as soon as I get the chance I'll try to see if there's anything obvious in Wireshark. However, I have trouble understanding how a dumb switch could cause such problems. Is there any known incompatibility between Intel NICs and D-Link switches? Is the switch simply faulty? Thank you for any suggestions!