Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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; 23 October 2007, 02:03 AM.

  • #2
    what's the difference in compress/uncompress speed?

    7zip's supposed to be a good thing though

    Comment


    • #3
      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...

      Comment


      • #4
        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.

        Comment


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

          Comment


          • #6
            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.

            Comment


            • #7
              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.

              Comment


              • #8
                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.

                Comment


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

                  Comment


                  • #10
                    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....
                    Michael Larabel
                    https://www.michaellarabel.com/

                    Comment

                    Working...
                    X