Menu

Feature request: Add a menu for changing PZSTD compression level during image creation

Ian Bell
2019-09-14
2019-09-16
  • Ian Bell

    Ian Bell - 2019-09-14

    Please allow us to increase the compression level beyond 3, since this algorithm is so fast.

     
  • Jeremy Boden

    Jeremy Boden - 2019-09-15

    The compression algorithm levels are not generally particularly responsive in terms of compressability to the level number. They can use a lot more CPU time to give a tiny improvement in space used.

     
    • Steven Shiau

      Steven Shiau - 2019-09-16

      @Jeremy,
      You are right, and that's why we did not provide such a feature. However, I believe some people would like to have an option for this. Therefore we will try to add that in the future.
      Thanks.

      Steven

       
  • Steven Shiau

    Steven Shiau - 2019-09-16

    Thank you foryour suggestion. Actually you can manually edit /etc/drbl/drbl-ocs.conf, and assign the level you like to:
    extra_bzip2_opt="-3"
    extra_lzop_opt="-3"
    extra_lzma_opt="-3"
    extra_xz_opt="-3"
    extra_lzip_opt="-3"
    extra_lrzip_opt="-L 3"
    extra_lz4_opt="-1"
    extra_zstd_opt="-3"
    ...
    extra_pzstd_opt="-3 -p $cpu_no"

    However, I think there is no problem to add a dialog menu in expert mode. We will keep this in mind and add this in the future.
    Thanks.

    Steven

     

    Last edit: Steven Shiau 2019-09-16

Log in to post a comment.

MongoDB Logo MongoDB