Skip to contentSkip to conversation

LZO1X de/compression support

RFC [email protected] 1 participant 1 message May 19, 2007

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

I'm certainly missing something but what are the advantages of this code (over current gzip etc.), and what will be using it?

lzo compresses/decompresses much faster and using less cpu

this is how it compares:

bzip2:  best compression, but damn slow performance
gzip: good compression with good performance
lzo:  not that good compression but stunning performance 

reiser4 and compressed caching is alrady using lzo compression, but they bring their own implementation - there are other projects which could make use of it - so it`s better to share the code by making it an integral part of the kernel.

roland

Quoted 8 lines

Facts for LZO (at least for original code. Should hold true for this port also - hence the RFC!):
- The compressor can never overrun buffer.
- The "non-safe" version of decompressor can never overrun buffer if compressed data is unmodified. I am not sure about this if compressed data is malicious (to be confirmed from the author).
- The "safe" version can never crash (buffer overrun etc.) - confirmed from the author.

I'm certainly missing something but what are the advantages of this code (over current gzip etc.), and what will be using it?

Signature · 4 lines
Krzysztof Halasa
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192