Hi,
I need to implement a high performance file copying.
The File.Copy method in .NET is fast enough however I need to control the speed since it should be performed in the background without affecting the process too much.
I've implemented a buffered (FileStream) copy using a queue for the bufferes.
The performance is about 60% slower than the File.Copy.
I've heard something about unbuffered stream, however I couldn't find anything usefull in the net.
Can anyone spread his wisdom one this method?
Any idea how can I improve the buffered copy mechanism?
Thanks a lot.