Slowness accessing small text file on mapped drive
Hello, Users are all using Windows 7 sp1 32bit, and the mapped drive is on a 2008r2 sp1 datacenter server. With a mix of 100 and gig nic's. We are having an issue accessing a small text (>1KB) file repeatedly on a mapped drive. We have integrated our CRM program into our archaic ERP program by having the CRM program write a small text file to our "R" drive using a basic naming convention of usercode_newOrder.txt or usercode_newAccount.txt. So the text file continuously has the same name for the same user depending on which of the two processes they are completing. I've added logging to the web server that creates the text file to rule that out. ZAK: 11/29/2011 4:09:03 PM: Get User and file location FOR SALES ORDER: 0 ZAK: 11/29/2011 4:09:03 PM: Write Sales Order Info: 0.0156257 The text file is being written within a second for both processes. The user then accesses our erp system and hits enter to kick off the tiny program to look in r:\ for usercode_process.txt and then take out the ten digit account number and paste it into the text box. We have stepped through the program in a debug mode and there seems to be no access issues with the program (we've also done this before with text files and never had any issue with another process). So we've come to the problem of troubleshooting the access of the file on the mapped drive where we think the varying bottleneck of 5-35 seconds resides. I have allowed "everyone" full control over the folder and turned off caching by selecting "No files or programs from the shared folder are available offline", turned off indexing (thinking it may be a problem having the text file of the same name with different data, no compression or encryption and now I'm at a loss for how to speed up the access issue or even troubleshoot it. I can click the create text file link and watch it populate in the r drive through explorer within 2 seconds but can not read the data from the file that quickly. Thank you and sorry for convoluted post just trying to show the process.
November 30th, 2011 4:08pm

Sounds like a pretty complex scenario. I would suggest eliminating the possibilities, since there are so many thing involved. Is this an issue only on Windows 7 workstations, or on Vista/XP too? > In that case - eliminate Windows 7 as the problem. Copy the content of the Windows 2008 shared folder to a shared folder on a different system, and have one workstation map to it instead. Then see if the problem is still there. > If it is, you can eliminate Windows 2008. You may want to debug your application and see if there's anything that could be causing this lag. ___________________________________________________________________ Please vote my post as helpful if you think it was, and mark it as an answer if it answered your question. That will help others with the same problem finding the answer. - Thanks.
Free Windows Admin Tool Kit Click here and download it now
November 30th, 2011 7:29pm

Refer to: Slow network performance when you open a file that is located in a shared folder on a remote network computer http://support.microsoft.com/kb/829700 Microsoft Office files slow to open from network share on SBS 2008 from Windows 7 Clients http://www.axon-it.com/2010/11/16/microsoft-office-files-slow-to-open-from-network-share-on-sbs-2008-from-windows-7-clients/ Office 2007 and Windows 7 Slow saving file to the network http://social.technet.microsoft.com/Forums/hu-HU/w7itproappcompat/thread/fe2dd0b0-c831-45ef-bb56-501e4fae53c7 However the access speed also depends on the design of the program. We can only help you from the OS side. For the coding problems, please discuss in other development forums.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
December 1st, 2011 9:40am

Thank you for the response, I hadn't even thought of putting an XP machine out there to test I will do that this week. I'd hate to have that be the underlying problem we just bought this department all new pc's last year. If the XP machine turns up nothing I will move the mapped drive to another location. We've already debugged both apps and there doesn't seem to be an issue on either end, which is why I came here to post. I will update after the next test but any other ideas are welcome as well.
Free Windows Admin Tool Kit Click here and download it now
December 2nd, 2011 8:14am

Refer to: Slow network performance when you open a file that is located in a shared folder on a remote network computer http://support.microsoft.com/kb/829700 Microsoft Office files slow to open from network share on SBS 2008 from Windows 7 Clients http://www.axon-it.com/2010/11/16/microsoft-office-files-slow-to-open-from-network-share-on-sbs-2008-from-windows-7-clients/ Office 2007 and Windows 7 Slow saving file to the network http://social.technet.microsoft.com/Forums/hu-HU/w7itproappcompat/thread/fe2dd0b0-c831-45ef-bb56-501e4fae53c7 However the access speed also depends on the design of the program. We can only help you from the OS side. For the coding problems, please discuss in other development forums.Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
December 3rd, 2011 1:25am

Thank you both for your responses, seemed to be a smbv2 issue.
Free Windows Admin Tool Kit Click here and download it now
December 9th, 2011 1:26pm

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

Other recent topics Other recent topics