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

Moderators: Hacker, petermad, Stefan2, white

User avatar
Dalai
Power Member
Power Member
Posts: 9941
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

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

Post 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.
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post 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.
#146217 personal license
PiotrMPPL
Junior Member
Junior Member
Posts: 59
Joined: 2018-10-26, 07:04 UTC

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

Post 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
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3377
Joined: 2003-05-06, 11:46 UTC

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

Post 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....
Hoecker sie sind raus!
PiotrMPPL
Junior Member
Junior Member
Posts: 59
Joined: 2018-10-26, 07:04 UTC

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

Post 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/
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post 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".
#146217 personal license
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

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

Post 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.
Author of Total Commander
https://www.ghisler.com
PiotrMPPL
Junior Member
Junior Member
Posts: 59
Joined: 2018-10-26, 07:04 UTC

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

Post 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]
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3377
Joined: 2003-05-06, 11:46 UTC

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

Post by *Sir_SiLvA »

a random picture is NOT an official manual :-P
Hoecker sie sind raus!
PiotrMPPL
Junior Member
Junior Member
Posts: 59
Joined: 2018-10-26, 07:04 UTC

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

Post 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
User avatar
AntonyD
Power Member
Power Member
Posts: 1554
Joined: 2006-11-04, 15:30 UTC
Location: Russian Federation

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

Post 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.
Last edited by AntonyD on 2025-03-24, 08:29 UTC, edited 1 time in total.
#146217 personal license
User avatar
Sir_SiLvA
Power Member
Power Member
Posts: 3377
Joined: 2003-05-06, 11:46 UTC

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

Post by *Sir_SiLvA »

a random 3rd party site is ALSO not a manual like AntonyD allready stated.
Hoecker sie sind raus!
User avatar
Usher
Power Member
Power Member
Posts: 1726
Joined: 2011-03-11, 10:11 UTC

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

Post by *Usher »

This is unpacked chm from old 7-zip version 19.00
See the start page, please:
https://7-zip.opensource.jp/chm/
Andrzej P. Wozniak
Polish subforum moderator
Post Reply