Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756799AbXE2Fsj (ORCPT ); Tue, 29 May 2007 01:48:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750872AbXE2Fsb (ORCPT ); Tue, 29 May 2007 01:48:31 -0400 Received: from an-out-0708.google.com ([209.85.132.246]:32685 "EHLO an-out-0708.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807AbXE2Fsb (ORCPT ); Tue, 29 May 2007 01:48:31 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=oftvNBu5wc/OY/MjHsxm5x7LkwjgDS0GDJXElq0IsKHYsHPyZO5QVK6k0q1FHe3E8J3YLnjn5dHukNkKQIIRMqc9BVXMruiBrh4eIxxXYC8z+vHQia2OhJhhSmgE/k0668JleXEevgKRXI5KMAAR6tG22oFvABnoChrjWEZnFXI= Message-ID: <4cefeab80705282248pd595302v519b3ae6c6f41daa@mail.gmail.com> Date: Tue, 29 May 2007 11:18:29 +0530 From: "Nitin Gupta" To: "Bret Towe" Subject: Re: [RFC] LZO de/compression support - take 6 Cc: lkml , linux-mm-cc@laptop.org, linuxcompressed-devel@lists.sourceforge.net, "Andrew Morton" , "Daniel Hazelton" , "Richard Purdie" , "Satyam Sharma" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4cefeab80705280734i37df1742k6738cd4200813684@mail.gmail.com> <4cefeab80705280740l36c00bf8t4a6f5b426a7a380a@mail.gmail.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2069 Lines: 67 On 5/29/07, Bret Towe wrote: > On 5/28/07, Nitin Gupta wrote: > > Hi, > > > > Attached is tester code used for testing. > > (developed by Daniel Hazelton -- modified slightly to now use 'take 6' > > version for 'TinyLZO') > > > > Cheers, > > Nitin > > > > On 5/28/07, Nitin Gupta wrote: > > > (Using tester program from Daniel) > > > > > > Following compares this kernel port ('take 6') vs original miniLZO code: > > > > > > 'TinyLZO' refers to this kernel port. > > > > > > 10000 run averages: > > > 'Tiny LZO': > > > Combined: 61.2223 usec > > > Compression: 41.8412 usec > > > Decompression: 19.3811 usec > > > 'miniLZO': > > > Combined: 66.0444 usec > > > Compression: 46.6323 usec > > > Decompression: 19.4121 usec > > > > > > Result: > > > Overall: TinyLZO is 7.3% faster > > > Compressor: TinyLZO is 10.2% faster > > > Decompressor: TinyLZO is 0.15% faster > > > > > > > > > 10000 run averages: > 'Tiny LZO': > Combined: 112.6642 usec > Compression: 56.3321 usec > Decompression: 56.3321 usec > 'miniLZO': > Combined: 77.6642 usec > Compression: 56.3416 usec > Decompression: 21.3226 usec > > now the interesting bit I thought was the following > root@mini:/usr/src/lzo1x-test-4# ./fulltest > [test_lzo.c::compress (93)] run took 42 microseconds > [test_lzo.c::decompress (127)] run took 20 microseconds > root@mini:/usr/src/lzo1x-test-4# ./tinytest > [test.c::compress (91)] run took 44 microseconds > [test.c::decompress (117)] BUG: lzo1x_decompress has failed ( t == -6 ) > [test.c::main (149)] BUG: Decompression routine failure > Did you use x86 for above test? Maybe some problem with testing script? What data did you use for this test? - Nitin - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/