Skip to content

Add support bzip3 #337

@kspalaiologos

Description

@kspalaiologos

bzip3 is a spiritual successor to bzip2; generally features better compression ratio. It's packaged for all major Linux distributions (Debian, Void, Gentoo, Arch, Alpine, Gentoo, NixOS, etc..) so compatibility/support should be rather wide.

Two rather notable differences from other compressors are the fact that bzip3 can utilise multithreading while compressing (using a fixed amount of jobs) and doesn't support the concept of levels (a block size needs to be passed to the compressor instead).

I recommend block sizes of 8M, 16M, 32M, 64M, 128M, 256M, 511M to map to levels 1-7. As the memory usage tends to be around 6*N (where N is the block size), caution is required to not exhaust the operating system's memory (level 7 will consume around 3GB of memory per compression thread).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions