Slow File IO when files are on a computer on the network

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • alex@en-suisse.com

    Slow File IO when files are on a computer on the network

    Hello
    I have done some code that parse log files for informations
    I have developped everything locally and it was going smooth
    Now the files that I acces threw my code are on a share on a server
    and it became very slow (more than 10 time slower)

    I am opening the file with a stream reader

    fileBrowser = New IO.StreamReader (fileName)

    and I browse with ReadLine()

    Any idea ?

    Thanks

  • cfps.Christian

    #2
    Re: Slow File IO when files are on a computer on the network

    Network vs Local will always be slower. What you might be able to do
    to regain speed (depending on what you're doing) is copy the file
    locally, rip it, then delete it when you're done.

    Comment

    Working...