EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: 7Zip Compression Size Problem?  (Read 8453 times)

falcon247

  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 18.0 Firefox 18.0
    • View Profile
7Zip Compression Size Problem?
« on: 07 February 2013, 12:08 »

Hi,  :)

 When I merged MAME 0.148 ROMs (.zip), using the rebuild option in ClrMamePro (.7z), everything went great and I have 8,720 .7z Files as it should be, but I noticed that the size is bigger than the set I found online (28.40 GB) and mine is (34.1 GB), so I opened one of the files (18wheelr) (77.7 MB):-



 Then I extracted the files and Recompressed it using add to archive... (7-Zip) (65.4 MB):-



 I noticed that the method and block are different, so Why it's different? and What does it mean? Did I do anything wrong while rebuilding? and How I can fix this to get the highest compression rate?

PS:
 - I'm using 7-Zip 9.30 alpha (64-Bit) & ClrMamePro 4.09a (64-Bit)
 - 7z command Lines in ClrMamePro:
     Compress: a -y -r -ms=off -mx9 %1 %2
     Delete    : d -y -ms=off -mx9 %1 %2

 Any help would be appreciated.

Thanks
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Chrome 24.0.1312.57 Chrome 24.0.1312.57
    • View Profile
Re: 7Zip Compression Size Problem?
« Reply #1 on: 07 February 2013, 12:17 »

Different compression settings, different sizes....easy as that....
you can tweak more bytes of any file in an archive if you fiddle around with commandline switches of 7z....but again..who cares about gaining some free space in days where multi terabyte hds cost nearly nothing and a full MAME with CHDs is like 1/3 TB or something....

Tweaking here sounds a bit like finding a perfect AT connection string for modems...back in 198x....lots of work and testing to gain some transfer bits...
Logged

Zandro

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 40
  • Operating System:
  • Linux Linux
  • Browser:
  • Chrome 18.0.1025.166 Chrome 18.0.1025.166
    • View Profile
Re: 7Zip Compression Size Problem?
« Reply #2 on: 07 February 2013, 17:17 »

The difference comes from specifying non-solid compression settings in cmpro (-ms=off). This is seriously recommended, as it keeps each file as a separately managed block within the archive, rather than merging everything together into a single block (see the column to the right of the one you highlighted) which entails a slower, memory intensive decomp/recomp process for each file.
« Last Edit: 07 February 2013, 17:21 by Zandro »
Logged

falcon247

  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 18.0 Firefox 18.0
    • View Profile
Re: 7Zip Compression Size Problem?
« Reply #3 on: 07 February 2013, 17:50 »

Thanks Zandro for replying, but I didn't exactly understood what I suppose to do to fix this? I don't know that much about 7zip CommandLine. so can you please tell me what I should do exactly?

thanks
« Last Edit: 07 February 2013, 17:53 by falcon247 »
Logged

Zandro

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 40
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 18.0 Firefox 18.0
    • View Profile
Re: 7Zip Compression Size Problem?
« Reply #4 on: 08 February 2013, 01:11 »

If you want to 'fix' the 'issue' of it not compressing as much, set -ms=on and rebuild.  Again, this is ill advice.  You shouldn't want the extra overhead.

Other reading: http://romshepherd.com/smf/index.php/topic,677.msg2958.html#msg2958
« Last Edit: 08 February 2013, 01:28 by Zandro »
Logged

falcon247

  • Karma: 0
  • Offline Offline
  • Posts: 3
  • Operating System:
  • Windows 7/Server 2008 R2 Windows 7/Server 2008 R2
  • Browser:
  • Firefox 18.0 Firefox 18.0
    • View Profile
Re: 7Zip Compression Size Problem?
« Reply #5 on: 08 February 2013, 09:20 »

 I know it's better to use .zip over .7z and that Multi-Terabytes HDs is cheap, but this is driving me crazy, I'm trying to fix this for days but nothing is working, I set -ms on but still it won't use solid-compression, Is this a bug in ClrMamePro or in 7-Zip 9.30 alpha? I just want to know why ClrMamePro won't use solid-compression even though I set it on? I've become obsessed with this!!!  ;D

New 7z command Lines in ClrMamePro:
     Compress: a -y -r -ms=on -mx9 %1 %2
     Delete    : d -y -ms=on -mx9 %1 %2

 Any help would be appreciated

Thanks
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 6.0 Safari 6.0
    • View Profile
Re: 7Zip Compression Size Problem?
« Reply #6 on: 08 February 2013, 11:58 »

you wont be able to do further fixing on solid archives. they are not recommended to be used. as mentioned before it's not worth the hassle anyway.
Logged
Pages: [1]   Go Up
 

Page created in 0.187 seconds with 20 queries.

anything
anything