#301
|
||||
|
||||
Update available
Changes - fixed command line parser bug - updated library support |
Sponsored Links |
#302
|
||||
|
||||
Hi thanks for the great work.
With xtool0.12 I have Quote:
Quote:
With the recent release xtool 2020 from xtool_0.3.8.7z, with a setting of Quote:
Quote:
Edit: I guess the default values for zlib might have changed. And on some aspects the new version is performing much more like a normal average setting. For a set of .dat files 800MB, tried to compressing with arc srep+FL2 compressed it to 414300KB, takes 32 seconds. xtool_0.12 e ![]() xtool_0.12 e ![]() xtool_0.3.8 e ![]() xtool_0.3.8 e ![]() Last edited by github; 03-02-2021 at 15:13. |
The Following User Says Thank You to github For This Useful Post: | ||
Razor12911 (04-02-2021) |
#303
|
||||
|
||||
Update available
Changes - fixed future stream bug @github The command line has changed, check the example to see how it's used. Furthermore, the old xtool used reflate without the knowledge of the user. The new one doesn't so if you have a scenario where the old xtool gives better results, then you may need to combine zlib with reflate or preflate. |
#304
|
|||
|
|||
Wdl
small test on WDL
|
The Following 2 Users Say Thank You to DiCaPrIo For This Useful Post: | ||
ffmla (04-02-2021), Razor12911 (04-02-2021) |
#305
|
|||
|
|||
Thank you. So with xtool 2020 I should use zlib+reflate -d or zlib+preflate -d
on command line with this it does detect many streams Quote:
does xtool0.12/2020 support the writing of {options} in arc.ini? I tried Quote:
|
#306
|
||||
|
||||
are you precompressing something that requires depth level to be set to 3 or higher? as for choosing between reflate or preflate, you need to know how each works as they have their advantages and disadvantages.
Code:
.\xtool.exe precomp -mzlib+reflate -d3 -c128mb -t100p-1 D:\xtool2020\test.zip output.bin 14992 streams .\xtool.exe precomp -mzlib+preflate -d5 -c128mb -t100p-1 D:\xtool2020\test.zip output.bin 2603 streams as for {option} via freearc, I'd first say you need to understand the command line syntax of xtool. The old xtool and new xtool use different syntax. Code:
[External compressor:xtool] header = 0 packcmd = xtool.exe precomp -mzlib -c32mb -t100p - - <stdin> <stdout> Code:
[External compressor:xtool] header = 0 packcmd = xtool.exe precomp {option} - - <stdin> <stdout> |
The Following User Says Thank You to Razor12911 For This Useful Post: | ||
ffmla (04-02-2021) |
#307
|
|||
|
|||
Thank you for the example.
I have it setup up like this Quote:
Quote:
However both setups can not to pass in like xtool:mzlib+zstd since + is parsed by freearc, but I guess it's rarely needed to pass in to methods. I asked about passing in the -d option, since there are up to 10, just saying to test it so I used 3 or 5, and in my case I do need to use -d3 or -d5 to get the same result as xtool 0.12 Last edited by github; 05-02-2021 at 20:29. |
#308
|
||||
|
||||
Quote:
Quote:
A depth of 1-2 is usually enough on everyday files such as pictures and documents as these are usually shipped in a zip file, that zip file is compressed using deflate and if it contains pdfs or png images then, that's when you need to use depth otherwise, don't touch it as you'll be increasing precompression time unnecessarily and have no gains in ratio. |
#309
|
|||
|
|||
Hello Razor, is there anything that can be done to cap the memory usage of xtool at a certain amount?
I am aware of a cmem variable in arc.ini packcmd (only small knowledge) however I was wondering if there's any other ways about this. I find on larger workloads/workloads with high amounts of streams, xtool fills up my RAM and completely crashes my PC. I am working with 16GB memory. Is there anything that can be done without changing chunk size? Currently I'm capping threads and using $$arc$$ instead of stdio. Last edited by Masquerade; 10-02-2021 at 11:51. |
#310
|
||||
|
||||
-lm
|
The Following 3 Users Say Thank You to Razor12911 For This Useful Post: | ||
#311
|
|||
|
|||
![]() ![]() Thanks again. Code:
Compressed 1 file, 12,630,693,406 => 54,088,313,477 bytes. Ratio 428.23% Compression time: cpu 66.05 sec/real 1078.31 sec = 6%. Speed 11.71 mB/s All OK |
#312
|
|||
|
|||
Hello Razor,Masquerade is there anything that can be done to cap the memory usage of xtool at a certain amount?
Can you give an example of how we will apply this method |
#313
|
||||
|
||||
you can't cap the memory usage of the program, you can only reduce it. When you are compressing, usually each thread gets its own chunk. Using -lm parameter makes all thread use 1 chunk. As for memory usage, that's highly dependent on the user and the data they are precompressing, if you set very high chunk sizes, be prepared for high memory usage. When decompressing, xtool tries to not use more than 512 MB ram automatically unless if there are large streams or if the recompressing library requires more memory.
Last edited by Razor12911; 10-02-2021 at 19:59. |
#314
|
|||
|
|||
did quick test on mad max with/out --dedup=xtool.bin to se mem usage...
with --dedup size to 55gb without --dedup size 57.1gb but memory dec the same around 6gb. *note only test with mzlib+srep [External compressor:xtool] header = 0 packcmd = xtool.exe precomp -mzlib -c128mb -t12 --dbase --dedup=xtool.bin - - <stdin> <stdout> unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout> [External compressor:srep] header = 0 packcmd = srep.exe -m3f -d1g -a2 $$arcdatafile$$.tmp - <stdout> |
#315
|
|||
|
|||
Mad Max is a bad example for dedup testing. They use really huge deflate chunks with level 1 compression, so the amount of dupe chunks is not very big, unlike the duplicated data in those chunks when decompressed, that's why srep is good solution here.
|
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Dev]XTool | Razor12911 | Conversion Tutorials | 180 | 23-10-2020 06:26 |
Project Cars Digital Edition (3xDVD5) (srep+lzma) | GTX590 | PC Games - CD/DVD Conversions | 10 | 28-08-2017 08:34 |
Project IGI Anthology 1xCD700 CIUV2 2039 | mausschieber | PC Games - CD/DVD Conversions | 0 | 24-07-2017 15:12 |
Space Channel 5 Part 2 Translation Project | Christuserloeser | DC Games | 0 | 21-06-2004 18:16 |