Ticket #604 (closed enhancement: fixed)

Opened 3 years ago

Last modified 2 years ago

gzip compression of log files

Reported by: catlee Owned by:
Priority: major Milestone: 0.7.12
Version: 0.7.11 Keywords:
Cc:

Description

It should be possible to choose between bzip2 and gzip compression for log files. gzip is much faster, at the cost of compression ratio.

We've hit a few cases with multi-gigabyte logs files taking a really long time to compress with bzip2 on the master, making it very sluggish.

Here are some timings of compressing the original 3.8 GB log file with the standalone gzip / bzip2 tools:

bzip2: 0:57:29, 4.5 MB
gzip: 0:01:58, 23 MB

I'd happily trade 20 MB of disk space for almost an hour of CPU time.

Change History

comment:1 Changed 2 years ago by dustin

  • Milestone changed from undecided to 0.7.12

This got committed.

comment:2 Changed 2 years ago by Nicolas

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in  8d6d4b7.

Note: See TracTickets for help on using tickets.