lkml.org 
[lkml]   [2012]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ANN: linux-kernel-lzo-2.06.20120123 - update LZO to v2.06
On Wed, Jan 25, 2012 at 02:36:18AM +0100, Andi Kleen wrote:
> I ran benchmarks on the new miniLZO and LZ4 on 64bit. LZ4 is generally slower
> than snappy/lzo in the micro benchmarks.

And the reason why you measured worse speed for LZ4 although (AFAICT)
everybody else's measurements claim the opposite is quite simple:
likely due to a copy&paste error you did not benchmark LZ4 at all:

https://github.com/andikleen/snappy-c/blob/master/glue.c#L282

274 void test_lz4(char *map, size_t size, char *fn)
275 {
276 int i;
277 int err;
278 size_t outlen = size * 2;
279 char *out = xmalloc(outlen);
280 char *buf2 = xmalloc(size);
281
282 BENCH(fastlz, "lz4", fn, NULL);
^^^^^^

283
284 free(out);
285 free(buf2);
286 }

(LZ4 is on it's track towards kernel)

david


\
 
 \ /
  Last update: 2012-10-09 11:21    [W:0.051 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site