I
I
Ivan Petrov2017-01-16 00:06:55
linux
Ivan Petrov, 2017-01-16 00:06:55

Why does it take so long to unpack an archive weighing only 36mb?

I downloaded the archive from magento 2.
Only 36 megabytes.
These files are extracted and deleted for a very long time, it is clear that there are thousands of files, but my folder was deleted 40 gigs faster than the magento folder.
Uploaded to the server with ubuntu and the archive was unpacked in a couple of seconds.
Is there something wrong with my computer (win10) or is it because of the number of files?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
1
15432, 2017-01-16
@bitande

For each unpacked file, the system must create a new entry in the file system. As a result, the hard disk is forced to shake the read / write head back and forth for each small file, which causes a very slow speed. If you have ever copied 10,000 files in a folder to a slow USB flash drive, you should have noticed that many small files are copied hundreds of times slower than one large one.

D
d-stream, 2017-01-16
@d-stream

It is worth telling the antivirus that this folder should be excluded from scans

O
OnYourLips, 2017-01-16
@OnYourLips

You have a bad archiver: apparently, it uses much more resources for rendering unpacking than for unpacking.
Or, when unpacking, it performs some stupid absurd actions (for example, the old winrar usually unpacks to the system disk, and then copies it to the target one).

A
Artem @Jump, 2017-01-16
curated by the

Why does it take so long to unpack an archive weighing only 36mb?
Not enough information to answer the question
  1. The amount of data is unknown, maybe there are terabytes.
  2. Unknown number and average size of files
  3. It is not known where you are unpacking - if you unpack into memory, it doesn’t matter if you have one file or a million, the size is important, and if you unpack to the HDD, a thousand files with a total volume of 5 megabytes will take longer to write than several tens of gigabytes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question