Performance problem with WriteLine to a network share - 4500 seconds to write 50 meg.

Author Message
rbnich

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 6/14/2011
  • Status: offline
Performance problem with WriteLine to a network share - 4500 seconds to write 50 meg. Tuesday, June 14, 2011 1:16 AM (permalink)
0
I find that if WriteLine writes to a local server folder performance is ok, ~50 meg in under 50 seconds. 
However, if WriteLine writes to a file on a different server performance crawls.  I can watch the file grow a few k at a time until the whole file takes 90 to 100 minutes to complete.  The file has ~50,000 rows and each row is a separate writeLine. 
 
Our network engineers have checked and said...There are no issues on the servers, no firewall problems, hardware problems, network latency, bandwidth or anything else they can think of to check and test.
 
As a work around, we can write the file local to the server and then copy the file to the network share; however, this requires two writes to the file (and double the disk space). 
 
I have checked the internet and do not find anyone else having this problem. 
 
Has anyone had this problem or know of another way to write to a file other than writeline to fix this problem?
-bob
 
 
 
 
#1

    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    2000-2012 ASPPlayground.NET Forum Version 3.9