Slow file access Window 7 to Windows 7, OK between windows 7 and XP
We have a server-type program that scans material and writes a description file to the disk. We have a client-type program that resides on another computer that reads these files. The files are about 1 mbyte and the server will write upto 2 per second. We may configure systems where several client computers are following the server computer. We have been doing this on pc's since the MSDOS days, then w98, then xp. But now Windows 7. The client computers can't keep up. If the server is writing files once per second, the client on another window 7 machine gets one about every 4 to 8 seconds, while another client on an XP machine keeps up no problem. So Window7 machine to Windows 7 machine really slow. Windows 7 to xp or xp to Windows 7 or xp to xp really fast. I have tried: disabling remote differential compression disabling autoxxxxxlevel whatever disable homegroups. and a bunch of other things. Is Windows 7 an evil plan to get gray haired programmers to retire? Question
July 4th, 2010 12:03am

Is there any specific protocol you are using on your connection from Windows 7 to Windows 7?MCT, MCSA/MCSE Security http://esitech.spaces.live.com/
Free Windows Admin Tool Kit Click here and download it now
July 4th, 2010 8:11am

No protocol. Programs are c/c++; The server program writes files to a folder. That folder is shared. The client program uses a "_stat" function to see when a new file is written, then it reads the new file. When I start the client program it reads the exiting files very fast. But when the server writes the next file, the client on a Windows7 computer will take up to 10 seconds to see the new file. So when a new file is written on the server computer, a client program on an XP computer see the file is much less than 1 second. A client program on the Windows7 computer waits 10 seconds. I can copy a batch of 100 files from one computer to another very fast. It is as if a new file has to be approved by a higher power, before is can be shared with another windows7 computer.
July 4th, 2010 6:48pm

Seems like your program is old enough not to be operating under Windows 7 so well but anyhow I advise you give it a try using Windows XP Mode to see if the client program works fine under virtualized Windows XP. Anyways, what's the version of Windows installed on the server?MCT, MCSA/MCSE Security http://esitech.spaces.live.com/
Free Windows Admin Tool Kit Click here and download it now
July 4th, 2010 9:31pm

Seems like your program is old enough not to be operating under Windows 7 so well but anyhow I advise you give it a try using Windows XP Mode to see if the client program works fine under virtualized Windows XP. Anyways, what's the version of Windows installed on the server? MCT, MCSA/MCSE Security http://esitech.spaces.live.com/ To extend Esmaeil.Sarabadani’s post, I also suggest you try the following steps to troubleshoot the issue. 1. Temporarily turn off firewall on the machine. 2. Perform a Clean Boot to check the result. 3. Try disabling Receive Side Scaling and Receive Window Auto-Tuning to see if it works: Information about the TCP Chimney Offload, Receive Side Scaling, and Network Direct Memory Access features in Windows Server 2008 Description of the Receive Window Auto-Tuning feature for HTTP traffic on Windows Vista-based computers Regards, Sabrina
July 5th, 2010 12:16pm

thanx for the suggestions. Still no progress. Did not try XP mode. Did not try clean boot. tried firewall off tried RSS disable using "netsh int tcp set global rss=disabled. tried autotuninglevel disabled tried a 3rd windows7 computer. tried running both server and client program on same computer. It ran fast, so I suspect the problem is a shared file issue over the network. Made a simple command level client program that simply mimics my client program. All it does is look for the next file in the sequence and report when it finds it, then looks for the next one. It behaves exactly like my full client program. The client finds the lastest file when it starts, but then delays about 10 seconds before it will see any new file. Ordered 2 computers with XP loaded... Need to be running in 2 weeks. More info. All 3 windows7 computers were from Dell, I about 2 months ago. Optiplex 960, quad core Q9650@3.0 ghz, 4gbyte ram, 32 bit OS, windows 7 Professional.
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2010 6:58pm

All right I see. Please check it under Windows XP Mode and let us know. By the way, the problem seems to be a network issue. I mean something in between is preventing the process to be faster. By the way, you didn't mention the server windows bro...MCT, MCSA/MCSE Security http://esitech.spaces.live.com/
July 5th, 2010 7:40pm

I must not be explaining problem very well. I have made some simple console applications that write and read files. One writes a file to the local disk every time I hit a key. The other program runs on the other win7 computer and reports when it sees the new file. I wrote these programs, to eliminate any questions about older MFC type code that may not transition well to win7. Anyway, they act just like original programs, ie the client takes about 10 seconds realize that a new file was written by the server. But, I found that if I have a window open looking on that client computer that is viewing the shared folder on the server computer, that new files get recognized in about 1 second. So somehow a folder window discovers new files in a second and when that happens my client program also discovers the file.
Free Windows Admin Tool Kit Click here and download it now
July 5th, 2010 11:57pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics