File Copy Question
-
Hi,
There's no monitoring you can do with that one.
In any case, expecting that the behaviour should be the same accros all types of media and network etc. is wrong. The drives themselves have buffers, you also have to into account the bus used to communicate with your different disk, the drivers, the system load, the OS type, the speed of the hard drive motors, etc. All these factors and others can alter the speed of copy.
[edit: fixed missing no...]
-
Sorry, there was a missing no in that sentence.
-
It's basically the same expect that you split the operation between two threads. Though it's worth to try if only to benchmark.
-
Because that wouldn't make sense. bitesWritten is for when you write in a device. With a copy QFile writes in another device.
Again: benchmark. Parallelising disk write doesn't necessarily means that you'll double anything. If you have only one disk on the receiving side, writing twice as much data in parallel won't have the performance boost you'd expect.
-
Hi
Just as a note:
If i was to write anything for file copy on the windows platform
i would look in this tool source
https://ipmsg.org/tools/fastcopy.html.enI use it to copy array of mirrors ( 8 TB ) to different backup locations and
fastcopy delivers flawless and in high speed. :)