Home Hardware (Random) Is it faster to copy 1000 files of 1MB or 1 of 1GB?

banneraliexp

(Random) Is it faster to copy 1000 files of 1MB or 1 of 1GB?

by ace
(Random) Is it faster to copy 1000 files of 1MB or 1 of 1GB?

(Random) Is it faster to copy 1000 files of 1MB or 1 of 1GB? – Well, as the world of the Internet is being completely dominated by the epidemic that plagues us, I can say with a heavy weight on my soul that the world of tech news is a little slower. But that's okay, a guy has to make it if he wants to eat at the end of the month! So let's start talking about some random curiosities in the computer world.

What's faster? Copy 1000 files of 1 Mega each, or a single file of 1 Giga?

SSD

Therefore, when copying a single large file (1GB in this case), the file system will:

  1. Locate the file on the disk,
  2. Find the free space at the destination,
  3. It will put what you can in the RAM memory (depends on the size),
  4. Take what was put in RAM and write in the empty space previously identified
  5. Closes the process

However, when we want to copy 1000 files with 1MB, the file system will do the following:

  1. Locate the first file on the disk
  2. Find empty space at destination
  3. It will read the first file and put it in RAM
  4. Take what was put in RAM and write in the empty space previously identified
  5. Closes the process
  6. Repeat the process 999 times.

In short, in both processes between copying and writing the file, we will create other mini-files in the system's memory. What is clear, in the second case, will result in a lot more work for the computer system. In fact, even if the system were to locate and transfer all files to RAM at once, it would still be slower than passing a single file, which only needs to go through this process once. Why? They are simple security measures, in case something fails in the middle of this adventure, such as a lack of energy.

(Random) Is it faster to copy 1000 files of 1MB or 1 of 1GB? – Besides, what do you think about all this? Share your opinion with us in the comments below.

Follow the latest technology news to the minute. Follow us on Facebook, Twitter, Instagram! Want to talk to us? Send an email to geral@leak.pt.

banneraliexp

Related Articles

Leave a Comment

one × 1 =

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More