Branch: refs/heads/pixz
  Home:   https://github.com/NixOS/hydra
  Commit: 23bf99b8e2eb842da63527797d3c3ae36b622dd1
      
https://github.com/NixOS/hydra/commit/23bf99b8e2eb842da63527797d3c3ae36b622dd1
  Author: Domen Kožar <[email protected]>
  Date:   2016-08-12 (Fri, 12 Aug 2016)

  Changed paths:
    M hydra-module.nix
    M release.nix
    M src/lib/Hydra/View/NARInfo.pm
    M src/lib/Hydra/View/NixNAR.pm

  Log Message:
  -----------
  Use pixz instead of bzip2 for compressing nars

According to following two benchmarks:

- https://www.rootusers.com/gzip-vs-bzip2-vs-xz-performance-comparison/
- 
http://catchchallenger.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO

xz has better compression ratio than bzip2 at lowest compression rate.

https://github.com/vasi/pixz has been chosen as it can scale compressing
over multiple cores linearly.

We're using this in snabblab for a month now and it has improved CPU
wise the main Hydra server.


_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to