Re: [RFC] LZO de/compression support - take 4

From: Nitin Gupta
Date: Mon May 28 2007 - 05:47:19 EST


On 5/28/07, Daniel Hazelton <dhazelton@xxxxxxxxx> wrote:
On Monday 28 May 2007 05:08:54 Nitin Gupta wrote:
> On 5/28/07, Daniel Hazelton <dhazelton@xxxxxxxxx> wrote:
> > On Monday 28 May 2007 04:37:04 Nitin Gupta wrote:
> > > On 5/28/07, Daniel Hazelton <dhazelton@xxxxxxxxx> wrote:

New testbed based on minilzo complete.
Results from run using 1000 runs to generate averages:
1000 run averages:
'Tiny LZO':
Combined: 55.196 usec
Compression: 37.132 usec
Decompression: 18.064 usec
'miniLZO':
Combined: 55.785 usec
Compression: 40.862 usec
Decompression: 14.923 usec


Great!

I believe its now ready for mainline. We can do further cleanups and
optimizations there - more users of this code will surely drive more
enhancements.

(using (tiny/full)/100 for percentages:
'Tiny' is 0.9% faster on average


I think this is more appropriate: [(full-tiny)/full]*100
=> tiny is ~1% faster on average.


Same for the Compression
'safe' decompressor from tiny is 1.2% slower than unsafe from minilzo)


This is expected :)


Cheers,
Nitin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/