Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26-11-2019, 07:48
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
Cls mpzmt

MPZAPI is a mp3 compressor with high ratio.

Generally it supports stdio and it's slow.

Anyways, here's a cls for multithreaded mpz with stdio support.

Default ChunkSize is 64MB but it doesn't need any file io.

Test using two threads.
Quote:
FreeArc 0.67 (March 15 2014) Creating archive: .\testmt.arc using mpzmt
Memory for compression 0b, decompression 0b, cache 16mb
Compressed 43 files, 314,949,906 => 273,197,883 bytes. Ratio 86.74%
Compression time: cpu 3.27 sec/real 321.00 sec = 1%. Speed 0.98 mB/s
All OK
FreeArc 0.67 (March 15 2014) testing archive: testmt.arc
Tested 43 files, 273,197,883 => 314,949,906 bytes. Ratio 86.74%
Testing time: cpu 2.81 sec/real 315.85 sec = 1%. Speed 1.00 mB/s
All OK
Normally it uses Threads - 1 numbers of cpu.

Input: 300MB mp3 files.
Output: 266733 KB
OutputMT: 266797 KB

See? Almost no difference here.

*Note: This cls may cause a bug to hang the installer after extraction. I didn't face it but it may have.
Attached Files
File Type: 7z CLS-mpzmt.7z (361.1 KB, 99 views)
Reply With Quote
The Following 8 Users Say Thank You to 78372 For This Useful Post:
Carldric Clement (26-11-2019), ffmla (27-11-2019), Harsh ojha (01-12-2019), KaktoR (26-11-2019), oltjon (29-11-2019), shazzla (26-11-2019), Simorq (26-11-2019), ZAZA4EVER (26-11-2019)
Sponsored Links
  #2  
Old 26-11-2019, 08:12
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
Will test and maybe add it to CIU if you like
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
78372 (26-11-2019)
  #3  
Old 26-11-2019, 12:05
Carldric Clement's Avatar
Carldric Clement Carldric Clement is offline
Registered User
 
Join Date: Aug 2014
Location: Toboh, Sabah, Malaysia
Posts: 596
Thanks: 599
Thanked 659 Times in 234 Posts
Carldric Clement is on a distinguished road
Nice one this. Gonna test it on Mini Compressor.
Reply With Quote
The Following User Says Thank You to Carldric Clement For This Useful Post:
78372 (26-11-2019)
  #4  
Old 26-11-2019, 13:12
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
Code:
Compressed 85 files, 1,134,801,037 => 887,316,349 bytes. Ratio 78.19%
Compression time: cpu 1.70 sec/real 535.51 sec = 0%. Speed 2.12 mB/s
All OK

Extracted 85 files, 887,316,349 => 1,134,801,037 bytes. Ratio 78.19%
Extraction time: cpu 1.89 sec/real 487.87 sec = 0%. Speed 2.33 mB/s
All OK
It also works with srep before mpz (much better ratio at ~50%) but holy shit this is just too slow on unpacking with srep. Unfortunatelly I didn't saved the report but I think it was something at around 500kb/s
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
78372 (26-11-2019)
  #5  
Old 26-11-2019, 19:34
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
Probably after srep the chunksize was less than required for using all threads. Keep checking on task manager/ Process hacker to see how many mpzapi.exe were launched at a time.
Reply With Quote
  #6  
Old 14-12-2019, 09:56
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
Are there any CLS.ini settings?
__________________
Haters gonna hate
Reply With Quote
  #7  
Old 15-12-2019, 22:49
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Are there any CLS.ini settings?
No afair
Reply With Quote
Reply


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



All times are GMT -7. The time now is 14:34.


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