factory_bug should compress with lbzip2 if available. |
||
Issue descriptionCurrently factory_bug is compressing the output with "tar jcvf" and using system built-in 'bzip2' to compress. This may be pretty slow on certain platforms, when the logs are pretty large. I think we should detect and use lbzip2 (-I lbzip2) if possible.
,
Aug 16
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/platform/factory/+/a16816b41b28d0594c3f6bf59623a9abfddbcae3 commit a16816b41b28d0594c3f6bf59623a9abfddbcae3 Author: Hsin-Yi, Wang <hsinyi@google.com> Date: Thu Aug 16 20:14:48 2018 factory_bug: compress with parallel compressor if available Detect if system has parallel compressor installed and specified it in tar. BUG= chromium:805786 TEST=manually Change-Id: Ied96743cd1948175be40b57f40ba421f2511d1c8 Reviewed-on: https://chromium-review.googlesource.com/1177296 Commit-Ready: Hsin-Yi Wang <hsinyi@chromium.org> Tested-by: Hsin-Yi Wang <hsinyi@chromium.org> Reviewed-by: Hung-Te Lin <hungte@chromium.org> [modify] https://crrev.com/a16816b41b28d0594c3f6bf59623a9abfddbcae3/py/tools/factory_bug.py
,
Aug 17
|
||
►
Sign in to add a comment |
||
Comment 1 by hungte@chromium.org
, Aug 15Status: Assigned (was: Untriaged)