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,
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(-)
Crash-utility mailing list
|All times are GMT. The time now is 08:36 PM.|
VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.