Networked threading is slower on some computers and fast on others

I have a C # program that connects to an IMAP server and downloads emails. This program is thread-driven and runs very fast on one computer and very slow on another. Slow acts like the first thread blocks, while the rest have to wait. Replenishment in groups of 5 witches is the number of threads. Fast transmission after 125 messages in 20 seconds.

Both - Always on the same subnet - Connecting to the same server - Executing the same code - The same hardware for a laptop with the same OS - 64-bit version of Windows 7 (Service Pack 1) -.NET 3.5 - Compiled with VS 2010 Express

Any ideas would be greatly appreciated if I hit my head about it all day.

+5
source share
3 answers

Check if the dos ping command on the "slow" machine is too long. It seems to me that the Lan communication problem is for me.

0
source

Try checking the network connection speed by placing a large file, say, about a hundred megabytes on the imap server.

then try downloading it either using a browser (I would recommend something next to IE) or standard Windows file transfer (SMB / CIFS). Try one car at a time. And make sure the network is not busy while you are testing it.

Hope this helps. :)

0
source

, .exe . , .

0

All Articles