Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Q7lSU-00010a-SI for mharc-grub-devel@gnu.org; Thu, 07 Apr 2011 05:24:58 -0400 Received: from [140.186.70.92] (port=39491 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7lSR-0000zC-N1 for grub-devel@gnu.org; Thu, 07 Apr 2011 05:24:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7lSO-0000Ha-Pb for grub-devel@gnu.org; Thu, 07 Apr 2011 05:24:54 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:52262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7lSO-0000Gd-KX for grub-devel@gnu.org; Thu, 07 Apr 2011 05:24:52 -0400 Received: by fxm18 with SMTP id 18so1903192fxm.0 for ; Thu, 07 Apr 2011 02:24:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=3Lpu9U8jPjKzTys95oeHBzt1tfwjxrh08bjFVp7Grys=; b=STDTiSv0/u1/QNUDx0/C2q5LHPHy28gQBQk0jKSBfM1FodXtTBnSppofngQ2rfq9O1 49Q0aJVGLFt08wuBd/cGlBzCCnX2Q8aeB+sIGFmM+PAgDiF0eLJENAdEsc9ya077dASu ZAR3yX+WAynYha2yxDyTy1aShbBUenufQXRLs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=koIlmyfX3sm7/XSPzjppq90hjhnn6L+Rbpn00I/2sqtBhUTa3GzCmzN/7Vu0QxEWps zeyR4sKwiqtIkQKPbgnax9sJLkVml3IuWQeGiZnsFFLapuxzR+UHJ85oOCMxZ1gA3p4j 6VqwDhz27+oOuTS6LziHQsKYNOfHTwGwWjHoE= Received: by 10.223.13.197 with SMTP id d5mr638380faa.6.1302168291132; Thu, 07 Apr 2011 02:24:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.71.203 with HTTP; Thu, 7 Apr 2011 02:24:30 -0700 (PDT) In-Reply-To: <775884.3554.qm@web120005.mail.ne1.yahoo.com> References: <775884.3554.qm@web120005.mail.ne1.yahoo.com> From: "KESHAV P.R." Date: Thu, 7 Apr 2011 14:54:30 +0530 Message-ID: To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.41 Subject: Re: Grub2 EFI: Image loading from USB takes too long X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2011 09:24:56 -0000 On Wed, Apr 6, 2011 at 21:42, Aravind Srinivasan wrote: > > > Dint see any further response on this. So can I assume the block-io patch > provided will become part of some official release ? If so, which one ? Do I > need to log a bug for this ? > > Thanks, > Aravind > > ----- Original Message ---- > From: Aravind Srinivasan > To: The development of GNU GRUB > Sent: Tue, April 5, 2011 9:36:52 AM > Subject: Re: Grub2 EFI: Image loading from USB takes too long > > > > Tried the block IO patch. It is much better than the current default performance > > of 1.99. For the same initrd image (160M), loading from USB took approx 20 secs. > > I also tried changing the value of GRUB_DISK_CACHE_BITS from 6 to 8, and load > time improved to approx 12 secs. > Just to note, on Legacy Grub, this gets loaded almost in 3 secs. > Just FYI, in my VirtualBox 4.0.4 (EFI64 UEFI 2.1) test using archboot iso, the x86_64 kernel (2,249,632 bytes) and iniramfs (55,628,934 bytes) (both lzma compressed) load time dropped from 240 seconds to 160 seconds with blockio patch and GRUB_DISK_CACHE_BITS set to 8 (bzr mainline 3176). I don't know why there is still about 2 min load time but since this occurs in a VM (and using virtual sata cd drive), i guess it will be faster with a physical cd in real hardware. I also tested the kernel and initramfs files (booting from HDD, not CD) in DUET (UEFI 2.3 x86_64). Without the patch the load time was 63 seconds. With the patch (and GRUB_DISK_CACHE_BITS=8) the load time dropped to 16 seconds. I did not check load time from an actual cd but i guess it will be only slighly more due to cd access speeds. I have not yet tested the same with Fedora grub-legacy efi. Regards. Keshav