diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-28 23:45:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-28 23:45:52 -0500 |
commit | b0af9cd9aab60ceb17d3ebabb9fdf4ff0a99cf50 (patch) | |
tree | 15c56f48f249c839d4049fdbd71f1bcce14bdd65 /crypto | |
parent | 1e5005979e45337dab9e2c2e4a75ebd71168c004 (diff) | |
parent | 0ec7382036922be063b515b2a3f1d6f7a607392c (diff) |
Merge tag 'lzo-update-signature-20130226' of git://github.com/markus-oberhumer/linux
Pull LZO compression update from Markus Oberhumer:
"Summary:
========
Update the Linux kernel LZO compression and decompression code to the
current upstream version which features significant performance
improvements on modern machines.
Some *synthetic* benchmarks:
============================
x86_64 (Sandy Bridge), gcc-4.6 -O3, Silesia test corpus, 256 kB block-size:
compression speed decompression speed
LZO-2005 : 150 MB/sec 468 MB/sec
LZO-2012 : 434 MB/sec 1210 MB/sec
i386 (Sandy Bridge), gcc-4.6 -O3, Silesia test corpus, 256 kB block-size:
compression speed decompression speed
LZO-2005 : 143 MB/sec 409 MB/sec
LZO-2012 : 372 MB/sec 1121 MB/sec
armv7 (Cortex-A9), Linaro gcc-4.6 -O3, Silesia test corpus, 256 kB block-size:
compression speed decompression speed
LZO-2005 : 27 MB/sec 84 MB/sec
LZO-2012 : 44 MB/sec 117 MB/sec
**LZO-2013-UA : 47 MB/sec 167 MB/sec
Legend:
LZO-2005 : LZO version in current 3.8 kernel (which is based on
the LZO 2.02 release from 2005)
LZO-2012 : updated LZO version available in linux-next
**LZO-2013-UA : updated LZO version available in linux-next plus experimental
ARM Unaligned Access patch. This needs approval
from some ARM maintainer ist NOT YET INCLUDED."
Andrew Morton <akpm@linux-foundation.org> acks it and says:
"There's a new LZ4 on the block which is even faster than the sped-up
LZO, but various filesystems and things use LZO"
* tag 'lzo-update-signature-20130226' of git://github.com/markus-oberhumer/linux:
crypto: testmgr - update LZO compression test vectors
lib/lzo: Update LZO compression to current upstream version
lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/testmgr.h | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/crypto/testmgr.h b/crypto/testmgr.h index b5721e0b979c..3db1b7591559 100644 --- a/crypto/testmgr.h +++ b/crypto/testmgr.h | |||
@@ -25084,38 +25084,40 @@ static struct pcomp_testvec zlib_decomp_tv_template[] = { | |||
25084 | static struct comp_testvec lzo_comp_tv_template[] = { | 25084 | static struct comp_testvec lzo_comp_tv_template[] = { |
25085 | { | 25085 | { |
25086 | .inlen = 70, | 25086 | .inlen = 70, |
25087 | .outlen = 46, | 25087 | .outlen = 57, |
25088 | .input = "Join us now and share the software " | 25088 | .input = "Join us now and share the software " |
25089 | "Join us now and share the software ", | 25089 | "Join us now and share the software ", |
25090 | .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75" | 25090 | .output = "\x00\x0d\x4a\x6f\x69\x6e\x20\x75" |
25091 | "\x73\x20\x6e\x6f\x77\x20\x61\x6e" | 25091 | "\x73\x20\x6e\x6f\x77\x20\x61\x6e" |
25092 | "\x64\x20\x73\x68\x61\x72\x65\x20" | 25092 | "\x64\x20\x73\x68\x61\x72\x65\x20" |
25093 | "\x74\x68\x65\x20\x73\x6f\x66\x74" | 25093 | "\x74\x68\x65\x20\x73\x6f\x66\x74" |
25094 | "\x77\x70\x01\x01\x4a\x6f\x69\x6e" | 25094 | "\x77\x70\x01\x32\x88\x00\x0c\x65" |
25095 | "\x3d\x88\x00\x11\x00\x00", | 25095 | "\x20\x74\x68\x65\x20\x73\x6f\x66" |
25096 | "\x74\x77\x61\x72\x65\x20\x11\x00" | ||
25097 | "\x00", | ||
25096 | }, { | 25098 | }, { |
25097 | .inlen = 159, | 25099 | .inlen = 159, |
25098 | .outlen = 133, | 25100 | .outlen = 131, |
25099 | .input = "This document describes a compression method based on the LZO " | 25101 | .input = "This document describes a compression method based on the LZO " |
25100 | "compression algorithm. This document defines the application of " | 25102 | "compression algorithm. This document defines the application of " |
25101 | "the LZO algorithm used in UBIFS.", | 25103 | "the LZO algorithm used in UBIFS.", |
25102 | .output = "\x00\x2b\x54\x68\x69\x73\x20\x64" | 25104 | .output = "\x00\x2c\x54\x68\x69\x73\x20\x64" |
25103 | "\x6f\x63\x75\x6d\x65\x6e\x74\x20" | 25105 | "\x6f\x63\x75\x6d\x65\x6e\x74\x20" |
25104 | "\x64\x65\x73\x63\x72\x69\x62\x65" | 25106 | "\x64\x65\x73\x63\x72\x69\x62\x65" |
25105 | "\x73\x20\x61\x20\x63\x6f\x6d\x70" | 25107 | "\x73\x20\x61\x20\x63\x6f\x6d\x70" |
25106 | "\x72\x65\x73\x73\x69\x6f\x6e\x20" | 25108 | "\x72\x65\x73\x73\x69\x6f\x6e\x20" |
25107 | "\x6d\x65\x74\x68\x6f\x64\x20\x62" | 25109 | "\x6d\x65\x74\x68\x6f\x64\x20\x62" |
25108 | "\x61\x73\x65\x64\x20\x6f\x6e\x20" | 25110 | "\x61\x73\x65\x64\x20\x6f\x6e\x20" |
25109 | "\x74\x68\x65\x20\x4c\x5a\x4f\x2b" | 25111 | "\x74\x68\x65\x20\x4c\x5a\x4f\x20" |
25110 | "\x8c\x00\x0d\x61\x6c\x67\x6f\x72" | 25112 | "\x2a\x8c\x00\x09\x61\x6c\x67\x6f" |
25111 | "\x69\x74\x68\x6d\x2e\x20\x20\x54" | 25113 | "\x72\x69\x74\x68\x6d\x2e\x20\x20" |
25112 | "\x68\x69\x73\x2a\x54\x01\x02\x66" | 25114 | "\x2e\x54\x01\x03\x66\x69\x6e\x65" |
25113 | "\x69\x6e\x65\x73\x94\x06\x05\x61" | 25115 | "\x73\x20\x74\x06\x05\x61\x70\x70" |
25114 | "\x70\x70\x6c\x69\x63\x61\x74\x76" | 25116 | "\x6c\x69\x63\x61\x74\x76\x0a\x6f" |
25115 | "\x0a\x6f\x66\x88\x02\x60\x09\x27" | 25117 | "\x66\x88\x02\x60\x09\x27\xf0\x00" |
25116 | "\xf0\x00\x0c\x20\x75\x73\x65\x64" | 25118 | "\x0c\x20\x75\x73\x65\x64\x20\x69" |
25117 | "\x20\x69\x6e\x20\x55\x42\x49\x46" | 25119 | "\x6e\x20\x55\x42\x49\x46\x53\x2e" |
25118 | "\x53\x2e\x11\x00\x00", | 25120 | "\x11\x00\x00", |
25119 | }, | 25121 | }, |
25120 | }; | 25122 | }; |
25121 | 25123 | ||