On Fri, Apr 04, 2014 at 04:09:06PM +0100, Hugo Mills wrote: > > - Generally speaking, does LZO compression improve or degrade performance ? > > I'm not able to figure it out clearly. > > Yes, it improves or degrades performance. :) > > It'll depend entirely on what you're doing with it. If you're > storing lots of zeroes (Phoronix, I'm looking at you), then you'll get > huge speedups. If you're storing video data, you'll get a (very) > slight performance drop as it scompresses the first few blocks of the > file and then gives up. I suspect that in general, the performance > differences won't be noticable unless you have highly compressible > large files, but if you _really_ care about it, benchmark it(*). > > Hugo. > > (*) If you don't want to go through the effort of benchmarking, you > don't care enough about it, and should just pick something at random.
Speaking of this bit, I once tried to use zlib instead of lzo, and somehow it felt that my laptop on SSD booted noticeably slower after that, which felt weird since decompression speed should be about the same. Has anyone else noticed anything like this? Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/
signature.asc
Description: Digital signature