makedumpfile: Add Snappy Compression Support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Add dump header for snappydiskdump_mod.h | +2 | 0 replies | |
| 2/8 | Add command-line processing for snappymakedumpfile.c | +4 | 0 replies | |
| 3/8 | Add snappy build supportMakefile | +5 | 0 replies | |
| 4/8 | Notify snappy unsupporting when disabledmakedumpfile.c | +9 | 0 replies | |
| 5/8 | Add compression processingmakedumpfile.c makedumpfile.h | +28 | 0 replies | |
| 6/8 | Add uncompression processingmakedumpfile.c | +16 | 0 replies | |
| 7/8 | Add help messageprint_info.c | +11 | 0 replies | |
| 8/8 | Add manual descriptionmakedumpfile.8 | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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