From e216253f5985195fc6ebc40961b6f75d58121d07 Mon Sep 17 00:00:00 2001
From: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Date: Fri, 11 May 2012 11:38:03 +0900
Subject: [PATCH] crash: Add LZO Compression Support
LZO is as good as in size but by far better in speed than ZLIB. This
can reduce the time required for generation of crash dump and
refiltering; LZO is even better in decompression speed, but it might
be difficult for crash users to be aware of this improvement.
This patch allows crash utility to read dumpfiles compressed by LZO
using makedumpfile version 1.4.4 or later.
This feature is disabled at default. To enable this feature, build
crash utility in the following way:
1) Install LZO libraries by using package manager or by directly
downloading libraries from author's website. The packages required
are:
- lzo
- lzo-minilzo
- lzo-devel
The author's website is: http://www.oberhumer.com/opensource/lzo/.
2) Create CFLAGS.extra file and LDFLAGS.extra file in top directory
where source code of crash utility is expanded. Then, write -DLZO in
CFLAGS.extra file and -llzo2 in LDFLAGS.extra file.
/* page flags */
-#define DUMP_DH_COMPRESSED 0x1 /* page is compressed */
+#define DUMP_DH_COMPRESSED_ZLIB 0x1 /* page is compressed with zlib */
+#define DUMP_DH_COMPRESSED_LZO 0x2 /* page is compressed with lzo */
/* descriptor of each page for vmcore */
typedef struct page_desc {
--
1.7.4.4
--
Crash-utility mailing list
Crash-utility@redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
05-11-2012, 03:52 AM
HATAYAMA Daisuke
crash: Add LZO Compression Support
I'm sorry that I wrongly sended the previous mail in html format. I
re-send the mail.
==
Hello Dave,
This is LZO patch for crash utility. makedumpfile will support LZO
compression in version 1.4.4, and it will be released this or next
month.
LZO patch for makedumpfile is here:
[PATCH makedumpfile 0/2] LZO Compression Support
http://lists.infradead.org/pipermail/kexec/2012-February/006075.html
Thanks.
HATAYAMA, Daisuke
From e216253f5985195fc6ebc40961b6f75d58121d07 Mon Sep 17 00:00:00 2001
From: HATAYAMA Daisuke <d.hatayama@jp.fujitsu.com>
Date: Fri, 11 May 2012 11:38:03 +0900
Subject: [PATCH] crash: Add LZO Compression Support
LZO is as good as in size but by far better in speed than ZLIB. This
can reduce the time required for generation of crash dump and
refiltering; LZO is even better in decompression speed, but it might
be difficult for crash users to be aware of this improvement.
This patch allows crash utility to read dumpfiles compressed by LZO
using makedumpfile version 1.4.4 or later.
This feature is disabled at default. To enable this feature, build
crash utility in the following way:
1) Install LZO libraries by using package manager or by directly
downloading libraries from author's website. The packages required
are:
- lzo
- lzo-minilzo
- lzo-devel
The author's website is: http://www.oberhumer.com/opensource/lzo/.
2) Create CFLAGS.extra file and LDFLAGS.extra file in top directory
where source code of crash utility is expanded. Then, write -DLZO in
CFLAGS.extra file and -llzo2 in LDFLAGS.extra file.