Thread: Cls mpzmt
View Single Post
  #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