|
#7
|
|||
|
|||
|
Perhaps an additional constant for FreeArc that specifies the number of CPU threads?
So, some tools allow you to specify thread count as a percentage (such as XTool) However, some tools read from a static integer in arc.ini or cls.ini. This leaves us with the inability to tailor an installation to each user to use their full system (further in this post I have added an explanation of the LZMA archiver locked at 4 threads despite my system having 16). I would like to suggest a new constant called {threads}, similar to how {compressor} and {option}. FreeArc can read this and substitute {threads} with however many CPU threads you have. An existing example of this in action is the windows constant "%NUMBER_OF_PROCESSORS%" which if you echo it in command line will return the number of CPU threads in the system. I use this for when I use MTP or MParallel. Further detailing this, I can use the open source LZMA archiver from the LZMA SDK as an example of how {threads} would work. Here is the normal unpack command for the LZMA archiver: Code:
[External compressor:LZMA]
header = 0
unpackcmd = {compressor} d -mt4 -si -so <stdin> <stdout>
Code:
[External compressor:LZMA]
header = 0
unpackcmd = {compressor} d -mt{threads} -si -so <stdin> <stdout>
|
| The Following User Says Thank You to Masquerade For This Useful Post: | ||
Gehrman (09-01-2022) | ||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| XTool 2020 (Plugins) | Razor12911 | Conversion Tutorials | 405 | 24-12-2024 05:30 |
| Ultimate Conversion Compressor (UCC) | vollachr | Conversion Tutorials | 55 | 26-04-2021 09:27 |
| ZCM with Freearc | ~MAK~ | Conversion Tutorials | 46 | 01-10-2016 09:35 |
| Need help with opus and freearc | averanted | Conversion Tutorials | 6 | 29-07-2016 11:00 |