2 Replies Latest reply on Jan 12, 2017 6:47 AM by Wolf_Tohsaka

    Inefficient compression option in ghettovcb

    winkelr Lurker

      Saving compressed vm's on an nfs share is needlessly slow because tar first writes the uncompressed files to the nfs share and then reads, compresses and writes them back to the share.

      It would be far more efficient to pipe the output of tar directly to gzip and write to nfs only once.

      I've tested this under esxi 5.5:

      tar -cv -f - ghettovcb | gzip > /tmp/test.tgz

      and it works.  Can someone explain why this isn't utilized?

       

      Thanks,

      Rich