Is there an open source project or best practice guide that shows the fastest way to copy files around a local machine, lan, san and wan, which can compete with the built-in xcopy speed for windows7 (or 8) or a copy of Windows Explorer?
To be blunt, not all IO files are created equal. Some protocols and methods have various overheads. Some libraries do not take advantage of asynchronous operations or use linear hardware speed.
I take an inventory of the big data that we use and evaluate the performance of our client and third-party applications. Some server applications are the worst offenders (java-based is the worst of the worst).
I limit the scope of these studies to SMB 2 and 3 (cifs on windows 7 and 8).
- Is there a lack of speed in using POSIX libraries? (fread, fopen, fseek, etc.)
- Is there any advantage when using win32 calls (CopyFile2, ReadFileEx)
Ben l source share