Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've automated a deployment, and used 7-zip to compress a directory as part of the automation. Whenever 7-zip comes to compress the directory, however, it seems to take a long time (over 60 seconds) at the start when it just says "Scanning" ... it doesn't seem to be adding files to the archive at this time. Also, its not using significant CPU time.

It's not a big directory; maybe 8 MB, and not an overly large number of files - less than 300.

What's it doing? Should I be concerned? Can I speed it up?

share|improve this question
up vote 0 down vote accepted

It's looking through the data for optimal patterns to "tokenize" for the best compression. It probably loaded up as much data as possible into RAM for quicker access and reduced IO.

Since 7-zip supports multiple compression algorithms, you might try some of the other ones to see if there is a particular one that suits your needs of compression speed versus efficiency.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.