This patch series add snappy compression support for crash utility,
applied on top of v6.0.8.
snappy is fast compressoin algorhythm like lzo, but it's more
optimized than lzo on x86 machines and some other archs.
A lot of benchmark is available on the web. Here I only point at my
benchmark I posted a few weeks ago,
-
http://lists.infradead.org/pipermail/kexec/2012-June/006425.html
where snappy shows mostly as good performance as simple copying on
the worst case that input data increases its data size during
compression; this means we can use snappy with mostly NO risk.
How to get snappy libraries:
1) Use yum framework to get snappy and snappy-devel packages, or
2) Visit official website:
http://code.google.com/p/snappy/,
download snappy-<version>.tar.gz and then build it.
How to build crash utility with snappy support:
1) Put -DSNAPPY in CFLAGS.extra file and put -lsnappy in
LDFRAGS.extra file.
2) Do make as always.
---
HATAYAMA Daisuke (3):
Add uncompression processing
Add snappy supporting flag
Add dump header for snappy
defs.h | 4 ++++
diskdump.c | 34 ++++++++++++++++++++++++++++++++++
diskdump.h | 2 ++
3 files changed, 40 insertions(+), 0 deletions(-)
--
Thanks.
HATAYAMA, Daisuke