Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Kalman,

On Sun, 2011-02-20 at 15:15 +0100, Kálmán „KAMI” Szalai wrote:
I am sure we can shrink the installer more with better compression

        Hah - so, of course Fridrich and Tor have looked into this - and
naturally you are right :-) there is a lot we can do. Clearly
compressing things badly first, and then well later (eg. zip, then lzma)
doesn't give the best results. That is particularly so when there are
lots of similarities in the eg. un-compressed ODF files we have
internally for eg. templates but minor differences that will have
hard-to-compress knock-on-effects in the compressed stream.

        The ideal would be to use only one level of compression - using the
best algorithm (LZMA) ie. NSIS, and nothing in the .cab file (which is
limited to various lame algorithms, and perhaps per-contained-file
compression, rather than per-whole-cab-file).

        Unfortunately, with the currently level of eg. template duplication,
this would give us a vast .cab file that would chew lots of space on the
target machine - though it might shrink our download nicely :-)

What is your opinion? Can somebody test it on a real Windows build
system? 

        The current balance is based on testing; quite possibly there is a
better set of compression options - but we need to work out what it is.
Our current settings are optimised for a multi-lang install as we ship
it. To change that I'd like to see a table:

New options     Download/kb     Install/kb

        with the relevant sizes of both of these guys. That is just a matter of
running lots of long builds and comparing the output I guess, and I
suspect we will get something like a trade-off between these two values.

        Clearly, the 'real' solution is engineering to stop us having so much
pointless duplication ;-)

        HTH,

                Michael.

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.