13
5
How do I enable multi-threaded LZMA2 using 7-zip 9.20 on the command line? I know this is normally done with the -t option like so: "-tzip" .
How do I do this with LZMA2? I tried -tlzma and -tlzma2 and neither one works. I also tried not passing -t at all, and it just runs single threaded with "lzma" mode.
Here is the command I currently have, but it is slow, and single threaded:
"C:\Program Files\7-Zip\7z.exe" a -r -tzip -y XMLBackup.zip *.xml
5This combined with -mmt=x did the trick for me. It seems that if lzma2 is not specified that it uses the older lzma compression and therefore can't use multiple threads. If you specify both options, it will be able to use multithreading. – Kibbee – 2012-10-25T15:24:15.757