Absolutely superb ability to set up 7-Zip as a .zip packer, amazing speed, 100% CPU utilisation!
A couple of notes about the zip packer setup section:
-for some reason, it is possible to enable the checkboxes for both the internal packer and the 7-Zip one, maybe its a bug?
-and 7z is the format, the packer is called 7-Zip, I think this is better to understand
You're right! 100% CPU only when packing small files, I tested 10-20mb *.jpg
I tried 900-1000mb database and the compression was single threaded, my joy was short-lived
The speed depends on the compressible content, I checked in two variants:
15 x 591mb virtual machine snapshot, total uncompressed size 8,66gb
4:35 7-zip and windows compressed folder showed the same speed
1:28 inernal (level 6, verify off) and winrar (normal, CPU 35%) also showed the same speed
370 x .jpg ~15mb, total uncompressed size 4,32gb
00:59 internal (level 6, verify off)
00:53 winrar (normal, CPU 35%)
00:11 7-zip (cpu 100%)
2:53 windows compressed folder
Tried to find the file size when 7-zip shows maximum speed. In my case, 100% CPU load with the 7-zip packer is achieved for 15 x 236mb files, but when compressing 15 x 283mb files, the load drops to 10%, with regular short peaks up to 35%. As a result, if the files are small (each 236mb or less in my case), then it is better to compress with 7-zip, and if large, then the use built-in.
Аbout zip format, 7-Zip supports multithreding only with zip-bzip2, with default zip-deflate it can be multithreaded only with non large files.
I just checked the zip-bzip2 archive in windows 11 explorer and it unzipped successfully, but I think when I checked it before in an earlier version of the OS 7 or 10, it would not open. The zip-deflate format seems to be more compatible. But maybe I'm wrong and zip-bzip2 opens everywhere now.
Can someone tell me where and what parameter should be added to make it zip-bzip2 compressed when using 7-zip as external packer for zip?
gonzo55 wrote: 2023-07-01, 15:47 UTCCan someone tell me where and what parameter should be added to make it zip-bzip2 compressed when using 7-zip as external packer for zip?
The parameter is "-m0=BZip2"
so "Zip Packer:" says
Windows 10 (22H2) does not support this.
You can see the file list but "Method" says "Unknown"
Don't know what the latest Win11 version supports, but the next big update is supposed to come with 7z and Rar extraction.
Which methods will be supported remains to be seen...