PDA

View Full Version : XLolz - Lolz Accelerator


BLACKFIRE69
01-10-2020, 03:13
XLolz - Lolz Accelerator


Lolz (Tested on lolz v22c4b) Accelerator (MultiThreaded).


Commands:
a = Compress
x = Decompress

Options:
-c# = Chunk Size [Compression Only]
-t# = Threads (as a number or as a percentage)

Usage:
XLolz.exe a -c# -t# -method - - <stdin> <stdout>
XLolz.exe x -t# - - <stdin> <stdout>

Arc.ini:

[External compressor:XLolz]
header = 0
packcmd = XLolz.exe a -c64m -t100p - - <stdin> <stdout>
unpackcmd = XLolz.exe x -t4 - - <stdin> <stdout>



For Compression:
arc.ini
XLolz.exe
XLolz.ini
lolz_x64.exe

For Decompression:
arc.ini
CLS.ini
XLolz.exe
lolz_x64_u.exe



https://i.imgur.com/Un00OXF.png
https://i.imgur.com/rNmHML0.png

thanks @Balaji007 for the idea.


* note: you must have enough RAM.

dixen
01-10-2020, 04:59
Test

With Accelerator

Compressed 2 files, 178,957,280 => 53,612,177 bytes. Ratio 29.96%
Compression time: cpu 0.20 sec/real 236.98 sec = 0%. Speed 0.76 mB/s
All OK

Without Accelerator

Compressed 2 files, 178,957,280 => 53,591,715 bytes. Ratio 29.95%
Compression time: cpu 0.20 sec/real 395.72 sec = 0%. Speed 0.45 mB/s
All OK

FitGirl
01-10-2020, 13:51
But... why? On decompression it will use more memory, than native lolz.

BLACKFIRE69
01-10-2020, 18:57
But... why? On decompression it will use more memory, than native lolz.

I think it can be controlled by changing the number of threads for decompression.

Balaji007
02-10-2020, 04:53
I was tested your xlolz with on low end pc(4 Gb Ram, 4 thread pc). The compression and decompression was worked well.I was compressed 1.36 Gb file into 1.04 Gb. Native lolz was gave the same result (Approximately). Also decompression was taken only 3 minutes.

Cesar82
02-10-2020, 19:20
Is it not possible to add this LOLZ acceleration to MTX.exe?
If possible, list (names only) the methods supported in the MTX.exe thread.

darkwolves
02-10-2020, 21:17
using lolz in the past it would not multithread for me i dunno if it was because of my hardware or what..
but this enables me to

Masquerade
03-10-2020, 04:38
using lolz in the past it would not multithread for me i dunno if it was because of my hardware or what..

Did you toggle multi threads?

--------------------------- multithreading settings --------------------------
mt type(-mtt[0..1]): 0
mt threads(-mt[1..16]): 1 mt block size MB(-mtb[2..512]): 2m

-mtt1 -mmt6

BLACKFIRE69
03-10-2020, 05:07
Is it not possible to add this LOLZ acceleration to MTX.exe?
If possible, list (names only) the methods supported in the MTX.exe thread.

yep.it's possible.
Mtx.exe supports many methods that doesn't support STDIO.

Balaji007
03-10-2020, 07:19
For low end pc users:
Reduce the chunk size(Under 32 Mb) to operate in low end pc. But it didn't affect the compression ratio. Also It was gave higher decompression speed. Xlolz only for low end pc users��

darkwolves
03-10-2020, 10:44
Did you toggle multi threads?

--------------------------- multithreading settings --------------------------
mt type(-mtt[0..1]): 0
mt threads(-mt[1..16]): 1 mt block size MB(-mtb[2..512]): 2m

-mtt1 -mmt6

i did all that it never multithreaded..
i tried many things that were suggested to me none worked

Balaji007
03-10-2020, 11:02
i did all that it never multithreaded..
i tried many things that were suggested to me none worked

Use this xlolz and reduce the chunk size

darkwolves
03-10-2020, 11:08
Use this xlolz and reduce the chunk size

i already did and it worked very well but i didn't have to reduce chunk size :D

Balaji007
03-10-2020, 17:59
i already did and it worked very well but i didn't have to reduce chunk size :D

Lol, ok 😂

PsYcHo_RaGE
04-10-2020, 07:05
what's up with the "x" word? @BLACKFIRE69

BLACKFIRE69
04-10-2020, 07:39
what's up with the "x" word? @BLACKFIRE69

XLolz --> LolzX ? ;)

Snapppr6
05-10-2020, 12:27
Hi BLACKFIRE69 can you make kgb archiver tool to work with freearc?

https://sourceforge.net/projects/kgbarchiver/?_e_pi_=7%2CPAGE_ID10%2C6671198036

Dragonis40
28-09-2022, 14:24
Good evening. I've done some tests on "Assassin's Creed Director's Cut v1.02":



-) COMPRESSION LOLZ

Compressed 38 files, 7,140,841,769 => 1,744,236,118 bytes. Ratio 24.43%
Compression time: cpu 32.42 sec/real 7314.61 sec = 0%. Speed 0.98 mB/s

-) COMPRESSION XLOLZ

Compressed 38 files, 7,140,841,769 => 1,756,108,222 bytes. Ratio 24.59%
Compression time: cpu 16.14 sec/real 2065.95 sec = 1%. Speed 3.46 mB/s

The compression time is much better with Xlolz, but the compression ratio is slightly worse.



-) DECOMPRESSION LOLZ

cls-srep.dll v2017

Extracted 38 files, 1,744,236,118 => 7,140,841,769 bytes. Ratio 24.43%
Extraction time: cpu 1036.83 sec/real 139.68 sec = 742%. Speed 51.12 mB/s

cls-srep.dll v2013

Extracted 38 files, 1,744,236,118 => 7,140,841,769 bytes. Ratio 24.43%
Extraction time: cpu 1057.42 sec/real 143.82 sec = 735%. Speed 49.65 mB/s

-) DECOMPRESSION XLOLZ

cls-srep.dll v2017

ERROR!!!

cls-srep.dll v2013

Extracted 38 files, 1,756,108,222 => 7,140,841,769 bytes. Ratio 24.59%
Extraction time: cpu 1065.47 sec/real 147.94 sec = 720%. Speed 48.27 mB/s

Decompression time is slightly higher with Xlolz.



So, is Xlolz worth it? If your priority is compression time, it is! For me, installation time is very important, so Lolz is better!