Skip to content

makedumpfile: Add Snappy Compression Support

HATAYAMA Daisuke kexec 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Add dump header for snappydiskdump_mod.h+2 -00 replies
2/8Add command-line processing for snappymakedumpfile.c+4 -10 replies
3/8Add snappy build supportMakefile+5 -00 replies
4/8Notify snappy unsupporting when disabledmakedumpfile.c+9 -00 replies
5/8Add compression processingmakedumpfile.c makedumpfile.h+28 -50 replies
6/8Add uncompression processingmakedumpfile.c+16 -00 replies
7/8Add help messageprint_info.c+11 -50 replies
8/8Add manual descriptionmakedumpfile.8+5 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] makedumpfile: Add Snappy Compression Support

This patch series add snappy compression support, applied on top of v1.4.4. snappy is fast compressoin algorhythm like lzo, but it's more optimized than lzo on x86 machines and some others.

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 makedumpfile with snappy support:

Do make as follows:

  $ make USESNAPPY=on

---

HATAYAMA Daisuke (8):
Add manual description
Add help message
Add uncompression processing
Add compression processing
Notify snappy unsupporting when disabled
Add snappy build support
Add command-line processing for snappy
Add dump header for snappy

 Makefile       |    5 +++++
 diskdump_mod.h |    2 ++
 makedumpfile.8 |    9 +++++---
 makedumpfile.c |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++------
 makedumpfile.h |    3 +++
 print_info.c   |   16 ++++++++++-----
 6 files changed, 80 insertions(+), 15 deletions(-)
Signature · 7 lines
Thanks.
HATAYAMA, Daisuke

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec