[PATCH makedumpfile 0/2] LZO Compression Support

HATAYAMA Daisuke d.hatayama at jp.fujitsu.com
Mon Feb 20 04:10:00 EST 2012

The following series implements LZO compression support to
makedumpfile. LZO is as good as in size but by far better in speed
than ZLIB, readucing down time during generation of crash dump and

The RFC discussion:


How to build:

  1. Get lzo libraries: lzo, lzo-devel and lzo-minilzo from either of
  the following:

    1) Original author's website:

    2) yum framework on fedora. Older releases don't have the packages.

  2. Apply the patch set to makedumpfile v1.4.2.

  3. Do make.

How to use:

  Introduce new -l option. If a user specify this, makedumpfile
  generates dumpfile compressed by pages with lzo compression.

  $ makedumpfile -l vmcore dumpfile

Performance evaluation:

  - Kumagai-san's evaluation simulating actually working servers:

  - My evaluation focusing on the worst cases:

LZO Support for crash:

  I'll post LZO support patch for crash after makedumpfile merges
  these patches.


HATAYAMA Daisuke (2):
      Add help and manual messages about LZO compression support
      Add LZO Support

 Makefile       |    2 +-
 diskdump_mod.h |    3 ++-
 makedumpfile.8 |    6 +++---
 makedumpfile.c |   57 +++++++++++++++++++++++++++++++++++++++++++++++---------
 makedumpfile.h |    2 ++
 print_info.c   |   16 ++++++++--------
 6 files changed, 64 insertions(+), 22 deletions(-)


More information about the kexec mailing list