+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: ati-driver-installer package with lzma compression could save up to 54% space!

  1. #1
    Join Date
    Aug 2007
    Posts
    5,494

    Default ati-driver-installer package with lzma compression could save up to 54% space!

    I wrote a script to be able to repack (and fix) official ati installer packages. Then I tested different compressions. Here the results:

    51213090 ati-driver-installer-8.41.7-x86.x86_64.run
    48289029 ati-driver-installer-8.41.7-x86.x86_64.run.bzip2
    23317971 ati-driver-installer-8.41.7-x86.x86_64.run.lzma

    For bzip2 and lzma max -9 compression was used like it gzip -9 is used in original package. In percentage:

    100% ati-driver-installer-8.41.7-x86.x86_64.run
    94% ati-driver-installer-8.41.7-x86.x86_64.run.bzip2
    46% ati-driver-installer-8.41.7-x86.x86_64.run.lzma

    Of course that needs lzma installed on the system or you have to put in a static build of lzma, but download size would be much smaller. lzma is the compression which used by 7zip.
    Last edited by Kano; 10-23-2007 at 02:03 AM.

  2. #2
    Join Date
    Aug 2007
    Posts
    436

    Default

    what's the difference in compress/uncompress speed?

    7zip's supposed to be a good thing though

  3. #3

    Default

    7z is *damn* slow regarding compressing/uncompressing. It takes a whole lot more time to compress/decompress a 7z file.
    Beside this it is a rather new compression format. Due to this I do not trust this format so far since it has not proven to work in all cases, there might be some cases left where a lossless compression ain't working as expected. It takes quite some time until no compression algorithms are widely accepted...

  4. #4
    Join Date
    Aug 2007
    Posts
    5,494

    Default

    Well compression takes of course much longer (nearly 4 min on X2-3800+), but uncompress is not much slower than gzip - you would not see any difference. The only trick would be getting a lzma or better only the decoder lzmadec into the package. lzmadec static stripped with gzip packed would need around 200 kb extra space only.

  5. #5
    Join Date
    Aug 2007
    Posts
    436

    Default

    but the first thing needs to be made clear is, why is a driver take such a large space...

  6. #6
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    1,593

    Default

    Quote Originally Posted by FunkyRider View Post
    but the first thing needs to be made clear is, why is a driver take such a large space...
    Well, it is big, because fglrx is full of... features, you know.

  7. #7
    Join Date
    Aug 2007
    Posts
    5,494

    Default

    Very easy: it is multiply times stored it it. 4x for each arch, so 8x in total and gzip just does not "find" enough similaries between those. Also the installer is stored twice.

  8. #8
    Join Date
    Sep 2006
    Location
    PL
    Posts
    900

    Default

    lzma is a fairly good compression algorithm, but it's damn slow to pack something (which is not a problem in fglrx case, since ati does it) and it's not always reliable in its compression ratio. it does a bad job with certain file types (e.g. textual files) and other comression methods are size-comparable much faster.

    also most 7zip algorithms use loads of memory to unpack. maybe lzma does not, i don't know.

  9. #9
    Join Date
    Aug 2007
    Posts
    436

    Default

    a lot of features... that's just great ....... like no AA/vsync settings in the control panel....

  10. #10

    Default

    Quote Originally Posted by FunkyRider View Post
    a lot of features... that's just great ....... like no AA/vsync settings in the control panel....
    Wait for 8.42....

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts