Page 2 of 2

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-19, 00:11 UTC
by Dalai
2PiotrMPPL
There's not just one default solid block size. LZMA and LZMA2 have different default block sizes. The calculation for these values is also documented in 7-Zip's help, as are the default solid block sizes for LZMA2.

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-19, 07:47 UTC
by AntonyD
Perhaps this sounds strange. BUT if we humans attach so much importance to words, then we must also attach importance to their meaning.
And in the combo box, the last item to choose is the word "unlimited" - i.e. this is clearly a large value. By meaning.
The meaning and logic of the word seem to be clear. So, when looking for a match in the keys and the archiver command line options, we should also find something that matches "this" value. To give meaning to the very fact of the presence of this "word" in the choice.
And we are offered to use a key that is NOT RESPONSIBLE for this meaning! -ms=on merely involves the use of some formulas that define a certain current size. And yes - it can be quite large. But these meanings do not correspond to the meaning of the word "unlimited"!
There is only one meaning for this meaning - and it is numerical! -ms=16777215t
THEN - if we want to fully support command line switches - we need to add a "word" to the combo box - and this is "auto-select".
Which is to be matched by -ms=on combination.

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-19, 08:46 UTC
by PiotrMPPL
The default solid block size for LZMA2 method:

Code: Select all

The default solid block size for LZMA2 method:

Compression Level  Solid Block Size LZMA2 
0 - Store    0 B 
1 - Fastest  64 MB 
2   1 MB     256 MB 
3 - Fast     1 GB 
4   16 MB    4 GB 
5 - Normal   8 GB 
6   64 MB    16 GB 
7 - Maximum  16 GB 
8   256 MB   16 GB 
9 - Ultra    16 GB  
[img]https://i.postimg.cc/R31bFWKw/The-default-solid-block-size-for-LZMA2-method.png[/img]


Unlimite size of Solid Block in 7-Zip is -ms=16777215t and never is -ms=on !!


Please correct this error

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-19, 18:08 UTC
by Sir_SiLvA
PiotrMPPL wrote: 2025-03-19, 08:46 UTC Unlimite size of Solid Block in 7-Zip is -ms=16777215t and never is -ms=on !![/b][/size]
There is no ERROR... -ms=on is even in the helpfile so its a valid value....

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-19, 21:34 UTC
by PiotrMPPL
The -ms=on switch enables solid mode sizing by compression level

Code: Select all

The default solid block size for LZMA2 method:

Compression Level  Solid Block Size LZMA2 
0 - Store    0 B 
1 - Fastest  64 MB 
2   1 MB     256 MB 
3 - Fast     1 GB 
4   16 MB    4 GB 
5 - Normal   8 GB 
6   64 MB    16 GB 
7 - Maximum  16 GB 
8   256 MB   16 GB 
9 - Ultra    16 GB  

See the post by the author of 7-Zip!!!


https://sourceforge.net/p/sevenzip/discussion/45797/thread/6eeadd698d/

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-20, 06:23 UTC
by AntonyD
2Sir_SiLvA
Have you read at least my post yet?
it's not that having this key is a mistake/error - it's about the fact that this key DOES NOT correspond to the concept of "unlimited"!
For this key, the only thing that fits is a NEW, not yet existing value in the selection combobox - "auto-select".

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-20, 08:19 UTC
by ghisler(Author)
It seems to be a misinterpretation - I thought that -ms on (which is described in the help) means to turn on solid archives and not set a limit. But it seems that it means to turn on solid archives and set the default block size for the chosen compression method. Neither of these are described in the help of 7-zip.

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-20, 22:23 UTC
by PiotrMPPL
ghisler(Author) wrote: 2025-03-20, 08:19 UTC It seems to be a misinterpretation - I thought that -ms on (which is described in the help) means to turn on solid archives and not set a limit. But it seems that it means to turn on solid archives and set the default block size for the chosen compression method. Neither of these are described in the help of 7-zip.

When the -ms switch is on -ms=on (default value) it sets the SOLID BLOCK size depending on the compression level

Code: Select all

The default solid block size for LZMA2 method:

Compression Level  Solid Block Size LZMA2 
0 - Store    0 B 
1 - Fastest  64 MB 
2   1 MB     256 MB 
3 - Fast     1 GB 
4   16 MB    4 GB 
5 - Normal   8 GB 
6   64 MB    16 GB 
7 - Maximum  16 GB 
8   256 MB   16 GB 
9 - Ultra    16 GB  
See manual

[img]https://i.postimg.cc/R31bFWKw/The-default-solid-block-size-for-LZMA2-method.png[/img]

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-20, 22:57 UTC
by Sir_SiLvA
a random picture is NOT an official manual :-P

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-21, 06:00 UTC
by PiotrMPPL
Sir_SiLvA wrote: 2025-03-20, 22:57 UTC
a random picture is NOT an official manual :-P
See manuał
https://7-zip.opensource.jp/chm/cmdline/switches/method.htm

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-21, 07:10 UTC
by AntonyD
2PiotrMPPL
It is not necessary to use third-party help online.
Inside the CHM file of the built-in help in the distribution package - there is also this information
and in a slightly extended version.
So it would even be definitely preferable to refer to it as an "evidence".

But we must admit that it is very strange that the developer's website simply does not have a section
of a copy of the offline help.

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-21, 21:27 UTC
by Sir_SiLvA
a random 3rd party site is ALSO not a manual like AntonyD allready stated.

Re: TC 11.51: Error in 7-Zip Solid Block archiver settings!!!

Posted: 2025-03-24, 10:13 UTC
by Usher
This is unpacked chm from old 7-zip version 19.00
See the start page, please:
https://7-zip.opensource.jp/chm/