> 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
Thank you for your work.
I will merge your patches into the next version with small addition:
diff --git a/README b/README
index ae986d1..638b111 100644
--- a/README
+++ b/README
@@ -45,6 +45,9 @@
6.Build with lzo support:
# make USELZO=on ; make install
The user has to prepare lzo library.
+ 7.Build with snappy support:
+ # make USESNAPPY=on ; make install
+ The user has to prepare snappy library.
* SUPPORTED KERNELS
This makedumpfile supports the following kernels.
In addition, I did brief performance test with your patches:
- The source data is a vmcore saved on the disk, it might be sparse data.
- makedumpfile writes dumpfile to the same disk as the source data.
- execution time is average of 5 times.