Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 06-01-2018, 05:12
Gupta Gupta is offline
Registered User
 
Join Date: Aug 2016
Location: India
Posts: 361
Thanks: 123
Thanked 580 Times in 205 Posts
Gupta is on a distinguished road
Cls-lzham

No chunking, No Temps, No external executable

Quote:
Originally Posted by Richard Geldreich, Jr
LZHAM is a lossless data compression codec written in C/C++ (specifically C++03), with a compression ratio similar to LZMA but with 1.5x-8x faster decompression speed. It officially supports Linux x86/x64, Windows x86/x64, OSX, and iOS, with Android support on the way.
Current Version: 1092018
Attached Files
File Type: rar cls-lzham.rar (1.17 MB, 174 views)
File Type: rar cls-lzham_rev1092018.rar (159.5 KB, 95 views)
__________________
XD

Last edited by Gupta; 09-01-2018 at 02:43.
Reply With Quote
The Following 12 Users Say Thank You to Gupta For This Useful Post:
78372 (06-01-2018), Andu21 (06-01-2018), DiCaPrIo (06-01-2018), doofoo24 (06-01-2018), EzzEldin16 (06-01-2018), gozarck (06-01-2018), JRD! (06-01-2018), Razor12911 (06-01-2018), ShivShubh (16-01-2018), Simorq (06-01-2018), teusma (30-01-2018), unarc 125 (06-01-2018)
Sponsored Links
  #2  
Old 06-01-2018, 05:45
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 377
Thanks: 117
Thanked 407 Times in 217 Posts
doofoo24 is on a distinguished road
test it on small file size decompress work will with inno with the setting that you gave lzham:b4:w24:s4:l10 decompression speed around 87 mb/s on ssd but in compression it slower than lzma...
is there other setting to make better ratio or this is the max setting for lzham,
the cls work great so far no error...

Last edited by doofoo24; 06-01-2018 at 05:47.
Reply With Quote
  #3  
Old 06-01-2018, 05:48
DiCaPrIo DiCaPrIo is offline
Registered User
 
Join Date: Apr 2017
Location: Don't Know
Posts: 15
Thanks: 31
Thanked 10 Times in 8 Posts
DiCaPrIo is on a distinguished road
tested on small size great lzham speed
Attached Images
File Type: png 345.PNG (57.2 KB, 202 views)
Reply With Quote
The Following User Says Thank You to DiCaPrIo For This Useful Post:
Gupta (09-01-2018)
  #4  
Old 06-01-2018, 05:55
Gupta Gupta is offline
Registered User
 
Join Date: Aug 2016
Location: India
Posts: 361
Thanks: 123
Thanked 580 Times in 205 Posts
Gupta is on a distinguished road
L10 is not that useful try l9, and increase window size until u get error

Increase buffer size to 16 may be, lzham really like big inputs at once
__________________
XD

Last edited by Gupta; 06-01-2018 at 05:58.
Reply With Quote
  #5  
Old 06-01-2018, 06:03
DiCaPrIo DiCaPrIo is offline
Registered User
 
Join Date: Apr 2017
Location: Don't Know
Posts: 15
Thanks: 31
Thanked 10 Times in 8 Posts
DiCaPrIo is on a distinguished road
got error with 64ws
Attached Images
File Type: png 567.PNG (3.7 KB, 195 views)
Reply With Quote
The Following User Says Thank You to DiCaPrIo For This Useful Post:
Gupta (09-01-2018)
  #6  
Old 06-01-2018, 06:08
Gupta Gupta is offline
Registered User
 
Join Date: Aug 2016
Location: India
Posts: 361
Thanks: 123
Thanked 580 Times in 205 Posts
Gupta is on a distinguished road
Increase it slowly slowly, there is no limit but is limited by the hardware, or maybe something i am unware of,,,,,,, lzham initialization fails for too big win size

So increments it by 1 and see how far u can get, decompression remains unaffected from Window size
__________________
XD

Last edited by Gupta; 06-01-2018 at 06:16.
Reply With Quote
  #7  
Old 06-01-2018, 06:16
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,293
Thanks: 1,786
Thanked 8,300 Times in 1,838 Posts
Razor12911 is on a distinguished road
Limited by memory probably, cls is x86 therefore 2GB memory limit
__________________
Looking for something?
Visit the
Tutorial Index

Reply With Quote
  #8  
Old 06-01-2018, 06:17
Gupta Gupta is offline
Registered User
 
Join Date: Aug 2016
Location: India
Posts: 361
Thanks: 123
Thanked 580 Times in 205 Posts
Gupta is on a distinguished road
Cpp compilers provides tricks to use int64_t

Or maybe u r right haven't checked lzham sources may be changing int type for x86 build will run tests tomorrow
__________________
XD

Last edited by Gupta; 06-01-2018 at 06:20.
Reply With Quote
  #9  
Old 06-01-2018, 06:18
DiCaPrIo DiCaPrIo is offline
Registered User
 
Join Date: Apr 2017
Location: Don't Know
Posts: 15
Thanks: 31
Thanked 10 Times in 8 Posts
DiCaPrIo is on a distinguished road
got error on 27ws
worked 1 to 26 ws
Reply With Quote
  #10  
Old 06-01-2018, 06:19
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,293
Thanks: 1,786
Thanked 8,300 Times in 1,838 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by PrinceGupta2000 View Post
Cpp compilers provides tricks to use int64_t

Ir maybe u r right will run tests tomorrow
I think that's a 64-bit integer, nothing to do with architecture. That's just an integer that's constructed using 64 bits in terms of binary.
__________________
Looking for something?
Visit the
Tutorial Index

Reply With Quote
  #11  
Old 06-01-2018, 06:22
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 377
Thanks: 117
Thanked 407 Times in 217 Posts
doofoo24 is on a distinguished road
@Razor12911 please can you update the cls-zstd to the newer ver 1.3.3 (there new setting like ultra and Long Range Mode)
Reply With Quote
  #12  
Old 06-01-2018, 06:24
Gupta Gupta is offline
Registered User
 
Join Date: Aug 2016
Location: India
Posts: 361
Thanks: 123
Thanked 580 Times in 205 Posts
Gupta is on a distinguished road
If u can't represent more than 4 gb in int how will u address memory space more then that
__________________
XD
Reply With Quote
  #13  
Old 06-01-2018, 06:26
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,293
Thanks: 1,786
Thanked 8,300 Times in 1,838 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by PrinceGupta2000 View Post
If u can't represent more than 4 gb in int how will u address memory space more then that
You can represent 4GB> in int. Remember, 64-bit converts to 8 bytes. Int64 takes up just 8 bytes in memory, so really you can store that much data in the integer, but when it comes to addressing memory, this is not possible. At least from my understanding.

Edit:
At least in pascal, we are told that memory addresses can be recalled by pointers. These pointers in 32-bit environment are an equivalence to a 32-bit integer because they are 4 bytes while in 64-bit, they are 8 bytes.
Quote:
Originally Posted by doofoo24 View Post
@Razor12911 please can you update the cls-zstd to the newer ver 1.3.3 (there new setting like ultra and Long Range Mode)
I'll assign 78372 to do it
__________________
Looking for something?
Visit the
Tutorial Index


Last edited by Razor12911; 06-01-2018 at 06:34.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
doofoo24 (06-01-2018)
  #14  
Old 06-01-2018, 06:33
doofoo24 doofoo24 is offline
Registered User
 
Join Date: Nov 2016
Location: canada
Posts: 377
Thanks: 117
Thanked 407 Times in 217 Posts
doofoo24 is on a distinguished road
shouldn't lzham:b512mb:w24:s4:l9 use more memory like 5gb???
it using 1gb and the ratio is worst than lzham:b4:w24:s4:l10...

Last edited by doofoo24; 12-05-2018 at 21:14.
Reply With Quote
  #15  
Old 06-01-2018, 06:37
Gupta Gupta is offline
Registered User
 
Join Date: Aug 2016
Location: India
Posts: 361
Thanks: 123
Thanked 580 Times in 205 Posts
Gupta is on a distinguished road
@razor12911
For memory addressing processor or os prefers native integer types, 32 bit os performs bit level arithmetic to adress memory address more tha limit, and compilers stay away from this arithmetic overhead in x86 build unles told to do soo
__________________
XD

Last edited by Gupta; 06-01-2018 at 06:52.
Reply With Quote
The Following User Says Thank You to Gupta For This Useful Post:
zzzwei222 (06-01-2018)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Masked Compression (Ultimate compression in one go) panker1992 Conversion Tutorials 651 06-06-2019 11:29
Lzham - stdin/stdout shazzla Conversion Tutorials 5 04-06-2017 12:36
lzma2 on freearc as external panker1992 Conversion Tutorials 39 19-12-2015 09:01



All times are GMT -7. The time now is 19:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 2000-2018, FileForums @ https://fileforums.com