Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KLTjb-0001YU-5q for mharc-grub-devel@gnu.org; Tue, 22 Jul 2008 22:05:43 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KLTja-0001X5-1h for grub-devel@gnu.org; Tue, 22 Jul 2008 22:05:42 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KLTjY-0001Ur-01 for grub-devel@gnu.org; Tue, 22 Jul 2008 22:05:41 -0400 Received: from [199.232.76.173] (port=33475 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KLTjX-0001Um-Od for grub-devel@gnu.org; Tue, 22 Jul 2008 22:05:39 -0400 Received: from ti-out-0910.google.com ([209.85.142.188]:39694) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KLTjW-0004mu-W7 for grub-devel@gnu.org; Tue, 22 Jul 2008 22:05:39 -0400 Received: by ti-out-0910.google.com with SMTP id u5so951041tia.10 for ; Tue, 22 Jul 2008 19:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/TM3UpiwhL5HE9yDPkkGbPR2fNEHFuKmDoXcY2nWsa0=; b=uWi43dsj04HvUEQxRUvPDlq2abyzK/6Pa5MCUMlUwCcGf4zvuSoGAS5ei/J5rxO0vE duDXnJVSSDn+v9W+9IIh2NAMUh/XiA92b2rh98Va3CL8XFmZgzLEh/jW8Td8qi3TokYc Jetus8266t20ynLlq1tI4V6hRFHqRFUPFc44A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=x37csBHWvb3kg2iLZXfM+T0tr7GFUOIwKH/0QllwOUNUMMtWqqK8ieVDF3T0kC0HzG EaEBIeGaUgVFJgN2Mv6Xf/7w1AQV9476WnRoIVFSYI6SUxUNXun1RNiojj3TLEWYtcp+ cFZu6vvofmeTc77L1SkguLNQCnDrWzZDSJBBo= Received: by 10.110.14.12 with SMTP id 12mr5245351tin.31.1216778736967; Tue, 22 Jul 2008 19:05:36 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Tue, 22 Jul 2008 19:05:36 -0700 (PDT) Message-ID: Date: Wed, 23 Jul 2008 10:05:36 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080722120632.7aa611ce@gibibit.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20080722084347.53863920@gibibit.com> <1216752511.5029.4.camel@dv> <20080722120632.7aa611ce@gibibit.com> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] File readahead buffering X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2008 02:05:42 -0000 On Wed, Jul 23, 2008 at 3:06 AM, Colin D Bennett wrote: > On Tue, 22 Jul 2008 14:48:31 -0400 > Pavel Roskin wrote: > >> On Tue, 2008-07-22 at 08:43 -0700, Colin D Bennett wrote: >> > This patch speeds up loading a TGA image on my test system from 29 >> > seconds to approximately 1 second. >> > >> > I noticed that on my 1 GHz test system running from an IDE >> > CompactFlash drive, loading a certain TGA image in GRUB takes about >> > 29 seconds. >> >> I'm sorry for straying from your point, but maybe we should drop TGA >> support. It was the first image format for GRUB to support, but now >> PNG is supported, and it should be better in all aspects. > > I agree that TGA is not, in general, a great choice for an image format > (unless it is faster to load a large background image -- a 1024x768 RGB > PNG file may take more time to decompress than a TGA image would take > to load -- although perhaps an uncompressed PNG file would be > comparable in speed to load). However, I have not been able to load any > PNG images that I have tried to use. Something about the chunk type not > being supported. > Hi, Please upload the png file that cause problem. Also note that png use DEFLATE compression. I write a decoder in png, which may be a little slow. Perhaps I can import the decoder from zlib, if copyright allows. -- Bean