MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4462
Loc: Melbourne, Australia
Send PM
Re: Another rom site down.
10/01/21 09:18 AM


> To this day I still use .7z and merged sets for all my release set ROMs. I've never
> needed to perform any operations on them that are noticeably slower.

I don’t know how you can say that with a straight face. Pretty much everything is slower with 7zip archives:

  • LZMA compression itself is slow, so creating or adding to an archive is slow. You do plenty of this if you’re adding sets, replacing bad dumps, and so on.
  • LZMA decompression is slow (which has inspired development of algorithms like zstandard that give better decompression performance). This gives a speed penalty when loading a machine.
  • Solid archive compression means MAME ends up repeatedly decompressing data as it loads ROMs to retrieve files members within solid blocks. The caching the LZMA SDK uses isn’t very effective because MAME doesn’t always read archive members in the order they appear in the file. This affects every launch in MAME if the ROM set contains more than a couple of files.
  • Solid archive compression means that removing or replacing members in an archive requires recompressing unaffected members, whereas with a PKzip archive the unaffected members can simply be copied and the central directory rewritten. You do this any time you reorganise clones, move ROMs to devices, replace bad dumps, and so on.


All of this is measurable and noticeable. You might think the small space saving justifies it, but many others don’t.







Entire thread
Subject Posted by Posted on
* Another rom site down. joey35car 09/27/21 04:46 AM
. * Re: Another rom site down. Doosh  10/08/21 06:48 AM
. * Re: Another rom site down. B2K24  10/08/21 06:07 PM
. * Re: Another rom site down. Doosh  10/08/21 07:33 PM
. * Re: Another rom site down. agard  09/28/21 08:33 PM
. * Re: Another rom site down. B2K24  09/28/21 11:58 AM
. * Re: Another rom site down. Dullaron  09/29/21 04:15 AM
. * Re: Another rom site down. B2K24  09/29/21 10:01 AM
. * Re: Another rom site down. Vas Crabb  09/29/21 03:15 PM
. * Re: Another rom site down. Haze  10/01/21 01:02 AM
. * Re: Another rom site down. Vas Crabb  10/01/21 09:18 AM
. * Re: Another rom site down. Haze  10/01/21 12:33 PM
. * Re: Another rom site down. Vas Crabb  10/01/21 04:27 PM
. * Re: Another rom site down. Haze  10/02/21 04:00 PM
. * Re: Another rom site down. mhoes  10/04/21 09:26 PM
. * Re: Another rom site down. B2K24  10/04/21 04:13 AM
. * Re: Another rom site down. Rotwang  10/01/21 10:50 PM
. * Re: Another rom site down. uman  10/01/21 06:34 PM
. * Re: Another rom site down. Dullaron  10/01/21 04:47 AM
. * Re: Another rom site down. uman  09/28/21 11:22 AM
. * Re: Another rom site down. Vas Crabb  09/28/21 12:48 PM
. * Re: Another rom site down. RobbbertModerator  09/28/21 05:11 PM
. * Re: Another rom site down. Doosh  09/27/21 10:14 PM
. * Re: Another rom site down. MrV2K  09/27/21 02:49 PM
. * Re: Another rom site down. joey35car  09/27/21 10:13 PM
. * Re: Another rom site down. Doosh  09/27/21 10:17 PM
. * Re: Another rom site down. joey35car  09/27/21 10:22 PM
. * Re: Another rom site down. Doosh  09/27/21 10:35 PM
. * Re: Another rom site down. joey35car  09/27/21 10:37 PM
. * Re: Another rom site down. pepinos  09/30/21 10:13 PM
. * Re: Another rom site down. Doosh  09/27/21 10:42 PM
. * Re: Another rom site down. Ziggy100  09/27/21 08:12 AM
. * Re: Another rom site down. B2K24  09/28/21 12:22 PM
. * Re: Another rom site down. Ziggy100  09/28/21 05:51 PM
. * Re: Another rom site down. RobbbertModerator  09/27/21 01:43 PM
. * Re: Another rom site down. Doosh  09/27/21 02:24 PM
. * Re: Another rom site down. MooglyGuy  09/27/21 02:52 PM
. * Re: Another rom site down. Doosh  09/27/21 10:06 PM
. * Re: Another rom site down. Hawq  09/27/21 07:52 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 159 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2066