From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750719AbWDDPqM (ORCPT ); Tue, 4 Apr 2006 11:46:12 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750720AbWDDPqM (ORCPT ); Tue, 4 Apr 2006 11:46:12 -0400 Received: from wohnheim.fh-wedel.de ([213.39.233.138]:13764 "EHLO wohnheim.fh-wedel.de") by vger.kernel.org with ESMTP id S1750719AbWDDPqK (ORCPT ); Tue, 4 Apr 2006 11:46:10 -0400 Date: Tue, 4 Apr 2006 17:46:03 +0200 From: =?iso-8859-1?Q?J=F6rn?= Engel To: Jan Engelhardt Cc: Richard Purdie , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [PATCH RFC/testing] Upgrade the zlib_inflate library code to a recent version Message-ID: <20060404154603.GF25130@wohnheim.fh-wedel.de> References: <1144163888.6441.48.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 4 April 2006 17:38:56 +0200, Jan Engelhardt wrote: > > > >Upgrade the zlib_inflate implementation in the kernel from a patched > >version 1.1.3 to a patched 1.2.3. > > > >The code in the kernel is about seven years old and I noticed that the > >external zlib library's inflate performance was significantly faster > >(~50%) than the code in the kernel on ARM (and faster again on x86_32). > > > Any plans to move to something newer, e.g. bzip2 or LZMA? For PPP? Write a new RFC suggesting it and explaining how to deal with the "chunkiness" and additional memory overhead. For JFFS2? Bzlib compresses worse than zlib when dealing with small blocks. For... There may be a couple of uses where zlib could be replaced by something else. But even ignoring the compatibility issue it isn't always that simple. Jörn -- With a PC, I always felt limited by the software available. On Unix, I am limited only by my knowledge. -- Peter J. Schoenster