Formaline: Use bzip2 or xz if available to compress thorn source code

Create issue
Issue #537 closed
Erik Schnetter created an issue

Formaline Could use bzip2 or xz if available to compress thorn source code; this would reduce the size of the tarballs by up to a factor of 2.

Keyword:

Comments (5)

  1. Ian Hinder
    • removed comment

    This would be very useful. I spend a lot of time syncing formaline tarballs. It would also be useful for them to be hardlinked between restarts of a simulation, but that is another ticket...

  2. Erik Schnetter reporter
    • removed comment

    Tried this (xz and bzip2). The space savings are minimal, less than 1%. Don't know what is wrong. Maybe the tarballs are too small, maybe ASCII is already handled very well by gzip.

  3. Erik Schnetter reporter
    • removed comment

    Here are the statistics for a fairly large source tree:

    $ du -sk output_source.* 59108 output_source.gz 59444 output_source.bz2 59020 output_source.xz

    This used -9 for all compressors.

  4. Log in to comment