Tag: gzip

  • Ubuntu: How to use multiple cores with tar gzip compression

    Ubuntu: How to use multiple cores with tar gzip compression

      One thing you may have noticed when using the z switch with tar is that the compression can take some time! If you look at your CPU usage, though, you’ll notice that only one core is being utilised to compress the files. In a modern system 4 or 8 cores are common, meaning that…

  • ZFS: How to change the compression level

    ZFS: How to change the compression level

    By default ZFS uses the lzjb compression algorithm; you can select others when setting compression on a ZFS folder. To try another one do the following:   sudo zfs set compression=gzip [zfs dataset]   This changes the compression algorithm to gzip. By default this sets it to gzip-6 compression; we can actually specify what level…