Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1CxCKw-0002zr-Cz for mharc-grub-devel@gnu.org; Fri, 04 Feb 2005 17:54:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CxCKt-0002yq-1h for grub-devel@gnu.org; Fri, 04 Feb 2005 17:53:59 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CxCKq-0002xW-65 for grub-devel@gnu.org; Fri, 04 Feb 2005 17:53:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CxCKp-0002wh-MA for grub-devel@gnu.org; Fri, 04 Feb 2005 17:53:55 -0500 Received: from [212.43.237.68] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CxC5Q-00080G-Kn for grub-devel@gnu.org; Fri, 04 Feb 2005 17:38:00 -0500 Received: from ASSP-nospam (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 29E72F9D9C7D for ; Fri, 4 Feb 2005 23:38:00 +0100 (CET) Received: from 127.0.0.1 ([127.0.0.1] helo=localhost) by ASSP-nospam ; 4 Feb 05 22:37:59 -0000 From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Fri, 4 Feb 2005 23:38:46 +0100 User-Agent: KMail/1.7.1 References: <87k6po3u97.fsf@marco.marco-g.com> In-Reply-To: <87k6po3u97.fsf@marco.marco-g.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200502042338.46833.okuji@enbug.org> Subject: Re: Slow disk access 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: Fri, 04 Feb 2005 22:53:59 -0000 On Friday 04 February 2005 22:11, Marco Gerards wrote: > The disk access on GRUB 2 is terribly slow. At first I thought it > was only a problem on the PPC, but it is also showing up in grub-emu > and I guess on the PC as well. You can notice the problem when > reading in big files, like a big kernel. Reading in a 20MB files > takes 17 seconds. I don't see such a problem with grub-emu on PC. I tested the current CVS version. I made a hard disk image with ext2, put a 20MB file on it and run "cat (hd0,0)/foo" with the output of cat disabled (I modified the code). It took about 2 seconds on my laptop. Since my disk is really slow, I think this is normal. I did this test after I "cat" two ISO image files to /dev/null to flush the cache of the hard disk image. So I guess it is specific to PowerPC. Okuji