Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Forcing 7-zip to create separate thread from command line

Help
2014-02-01
2014-02-02
  • Andrey Kazak
    Andrey Kazak
    2014-02-01

    Greetings!

    I extract a set of 7z files on a PC with 32 cores using 7z.exe launched from command line.
    Is it possible to force each instance 7z.exe to occupy a separate thread (or a number of threads)?

    Thank you!

     
  • Igor Pavlov
    Igor Pavlov
    2014-02-01

    7-zip uses one thread for extracting in most cases.
    You can set cpu affinity with some extrenal program.

     
  • Andrey Kazak
    Andrey Kazak
    2014-02-01

    Is it possible to tell 7z.exe to use one core?

     
  • Igor Pavlov
    Igor Pavlov
    2014-02-02

    -mmt1 switch