6/16/2023 0 Comments Dd linux copy fast transferThe different operating systems has different memory management. As you see it has different behavior with different devices. Windows memory management is a complex thing. Keep in mind I haven't thoroughly tested this with removable drives, as Windows might be handling them differently, making my last point invalid. This could cause a user to plug out a removable drive while data is still being written to it, possibly corrupting the removable drive, cause not everyone bothers with safely removing hardware. I could see the benefit being that the source disk(the SSD) is quickly freed up, so that if another process needs to perform lots of read/write operations on it, it can do so without the file transfer impeding it, but if that is the case, why not go ahead and load all 15 GB at max speed into the memory?Īlso, this process misleads the user, as the file transfer keeps going even after the transfer dialog closes, because some of the data is still being copied from the memory to the hard drive. I don't see any benefit from the data integrity standpoint, as you're merely copying the files, and in the case of a power failure neither the RAM or the HDD will be particularly successful in retaining the data in transfer. My question is, what is the purpose of doing this? While I don't mind having some of my RAM used by file transfers, as even during the heaviest of my multitasking sessions I've never seen its usage go over 70%, what is the benefit of storing 1.6 GB of data which you won't be doing any kind of processing on in your RAM? Further confirmation is the fact that the extra used memory is marked as Modified It remains the same until the end of the file transfer(the transfer dialog closes), and then slowly drops back to the 3.7 GB level it was before the transfer. Memory usage starts rising, and stops at 5.3 GB just as the transfer speed drops to 130 MB/s. Then I start another 15 GB file transfer. I open up the Task Manager, and take a look at the Performance tab. My RAM is the only other part of my system which can match the speed of my SSD, and I have plenty of it. What else could it be? The extra data is being stored in the RAM This makes a bit more sense, but if I take into account the duration of the higher transfer speed, my hard drive's cache would have to be over 3 GB in size, which it definitely isn't. So, where does the extra data go? The extra data is being stored in the hard drive's cache memory While the 450 MB/s speed matches the rated speed of my SSD, considering I also have some other disk reads/writes going on in the background, there is no way a 7200 rpm hard drive is capable of keeping up with it, as the 130 MB/s speed I get later on is also the most I can expect from it. Some of my thoughts were these: Maybe that is the actual speed at which the transfer happensĭoubtfully. This sparked my curiosity, so I decided to figure out what is the cause of this. I've noticed that whenever I copy or move large files from my SSD, which I use as the system drive, to my HDD or to an external hard or flash drive, the speed graph shown by Windows always looks the same: the transfer speed starts at around 450 MB/s, and after a few seconds drops down to somewhere between 90 and 130 MB/s and remains stable until the end of the copy/move operation.
0 Comments
Leave a Reply. |