Project

General

Profile

Bug #1343

teuthology: use gzip instead of bzip2

Added by Greg Farnum over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
qa
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I tested it briefly, and it looks to me like the time savings of gzip are probably worth the loss of space efficiency, at least for manual runs:

uncompressed size:
-rw-r--r-- 1 gregf gregf 7.7G Jul 28 15:08 client.0.log

bzip2
gregf@kai:~/logs/testing/logs/remote/ubuntu@sepia57.ceph.dreamhost.com/log$ time bzip2 client.0.log

real    34m38.039s
user    34m1.828s
sys     0m5.064s

-rw-r--r-- 1 gregf gregf 366M Jul 28 15:08 logs/remote/ubuntu@sepia57.ceph.dreamhost.com/log/client.0.log.bz2
unzip time:
gregf@kai:~/logs/testing$ time bunzip2 logs/remote/ubuntu@sepia57.ceph.dreamhost.com/log/client.0.log.bz2

real    3m54.328s
user    3m40.122s
sys     0m9.205s

gzip:
zip time:
real    2m45.367s
user    2m32.730s
sys     0m4.708s

-rw-r--r-- 1 gregf gregf 624M Jul 28 15:08 client.0.log.gz

unzip time:
real    1m48.129s
user    0m44.915s
sys     0m6.476s

But we should discuss it before we make any changes.

History

#1 Updated by Greg Farnum over 12 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF