Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KMoHs-0006PU-0P for mharc-grub-devel@gnu.org; Sat, 26 Jul 2008 14:14:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMoHp-0006Nl-0p for grub-devel@gnu.org; Sat, 26 Jul 2008 14:14:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMoHo-0006MF-1c for grub-devel@gnu.org; Sat, 26 Jul 2008 14:14:32 -0400 Received: from [199.232.76.173] (port=39838 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMoHn-0006M0-OE for grub-devel@gnu.org; Sat, 26 Jul 2008 14:14:31 -0400 Received: from po-out-1718.google.com ([72.14.252.158]:43101) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KMoHn-0000MD-FD for grub-devel@gnu.org; Sat, 26 Jul 2008 14:14:31 -0400 Received: by po-out-1718.google.com with SMTP id c31so7723731poi.1 for ; Sat, 26 Jul 2008 11:14:29 -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=yaZFJ0Plvnx55HikR7xJ4ZvFsw11E2ctOiDJRoyqUF0=; b=AfQBdJEuxUEUtDLhNjIH2XjhZ48LifqRx/QTC3v/YjdqAmPb6TSDAxLcOqWcU/k4cp RtVGIkIEc1OkE+urJhBUMtjzo+FX7056Bk59a8/QGlM6eh+qUUtMRM665r5u9AETZdEj Vg5xj7jn1uh+qm/ly7xwiC+yFz0fBchGajaP4= 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=GJLVZj7Xooi76XadnjK3bOJg1nWiBvWPX8yWQ4eyNtlViAeWdVkOTzqvZCwkwpdbIh zhHfOlaTO90P+0/IJmtfmW4cx9ylReop89Ol3BjDfDWvE2hloSVWJEmQUUAXHLweaEBO 4hBr0Dlcb5P0zqybQm7W4oVe5OSF6LjoBu7gc= Received: by 10.110.43.20 with SMTP id q20mr3506499tiq.14.1217096068694; Sat, 26 Jul 2008 11:14:28 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Sat, 26 Jul 2008 11:14:28 -0700 (PDT) Message-ID: Date: Sun, 27 Jul 2008 02:14:28 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080726103251.686ea0ae@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> <20080723073332.66008014@gibibit.com> <20080723075603.4e28906c@gibibit.com> <20080726103251.686ea0ae@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: Sat, 26 Jul 2008 18:14:33 -0000 On Sun, Jul 27, 2008 at 1:32 AM, Colin D Bennett wrote: > Hi Bean, > > Thanks for the PNG fix! I tested it and it fixes the problem. 8-) > I am now using PNG files in my testing and they are working great. > > I'm also using my file I/O buffering patch and it helps performance > massively when loading images. I hope that in using the file > buffering patch myself I can find any potential problems with it. > > Regards, > Colin > Hi, Actually, you can solve this by reading trunks at at time. For example, you can write a wrapper for grub_file_read that prefetch 8192 bytes. -- Bean