From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mpvsb-0001Ml-PG for mharc-grub-devel@gnu.org; Mon, 21 Sep 2009 23:17:25 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpvsZ-0001K7-Sd for grub-devel@gnu.org; Mon, 21 Sep 2009 23:17:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpvsU-0001C1-4y for grub-devel@gnu.org; Mon, 21 Sep 2009 23:17:22 -0400 Received: from [199.232.76.173] (port=42110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpvsT-0001Bf-Vq for grub-devel@gnu.org; Mon, 21 Sep 2009 23:17:18 -0400 Received: from mail-px0-f171.google.com ([209.85.216.171]:60331) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpvsT-0003qT-L1 for grub-devel@gnu.org; Mon, 21 Sep 2009 23:17:17 -0400 Received: by pxi1 with SMTP id 1so2919686pxi.1 for ; Mon, 21 Sep 2009 20:17:16 -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 :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=xCaz1wKtxYgV4PUvs6y6FAKqQpp/Q8fUUCEzhrMyXIE=; b=WeiTbHzROSQzqKfrEQIUPvb8DYoaBUHar1f6OBgxe2NZkp2rly2egIu08HLoHb7pJC K9nqnxJSYzOOr6LAkCLxwMin9CiaXns6irW6EHH1s/fVGwIH7rKC+9GsLFuDpg1Qj7dO 3YtbTIjCj6OCrHbbEsK21d45uNYoouafoEwYs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=idWduc7Kgnnay+Rl2DW27R9klAg4RcsSm37sXaKK7PoJKbdgZFyC5K/kRgwcHLNJsL pfnQlmVLsNrlPO/uwJy9U1lPszHQx9s20XZPzOczTyqwCDHw7IZB7IxjS4a/Ek2B0sLc pejwJZ+qQei9QYR1v9C+rWpJQf7EJrgawOAjs= Received: by 10.114.9.16 with SMTP id 16mr741784wai.114.1253589435946; Mon, 21 Sep 2009 20:17:15 -0700 (PDT) Received: from ?192.168.1.101? (or-71-53-71-107.dhcp.embarqhsd.net [71.53.71.107]) by mx.google.com with ESMTPS id 20sm374245pzk.13.2009.09.21.20.17.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Sep 2009 20:17:15 -0700 (PDT) Message-ID: <4AB841B9.30708@gmail.com> Date: Mon, 21 Sep 2009 20:17:13 -0700 From: Dean Loros User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090920 Shredder/3.0pre MIME-Version: 1.0 To: grub-devel@gnu.org References: <4ab7a42f.8353f10a.25a9.4896SMTPIN_ADDED@mx.google.com> In-Reply-To: <4ab7a42f.8353f10a.25a9.4896SMTPIN_ADDED@mx.google.com> X-Enigmail-Version: 0.96a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Current Grub2 & problem with /boot on different drive 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: Tue, 22 Sep 2009 03:17:24 -0000 Greetings-- Well Vladimir, the modification to grub.cfg makes a 20sec difference--times went from 3 min 50 sec to 3 min 30 sec--better, but still a "bit" long :) So I would say that option #3 has very little effect & I really do not want to hardcode as per option #2....I am open to "interesting" mods to bring the time down to "normal" levels & It looks like Colin is willing to do some package building in between his busy workweek. So what are your thoughts as how this can be approached? Date: Mon, 21 Sep 2009 15:58:17 +0100 From: Colin Watson Subject: Re: Current Grub2 & problem with /boot on different drive To: The development of GRUB 2 Message-ID: <20090921145817.GM13423@riva.ucam.org> Content-Type: text/plain; charset=us-ascii On Mon, Sep 21, 2009 at 04:22:53PM +0200, Vladimir 'phcoder' Serbinenko wrote: > > Colin Watson wrote: > >> > > On Sun, Sep 20, 2009 at 10:00:13PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> >>> > >> As a workaround for time being you can use one or more of the following: >>> > >> 1) Increase cache size. Can this be done in 1.97? >>> > >> Change include/grub/disk.h and replace >>> > >> #define GRUB_DISK_CACHE_NUM 1021 >>> > >> with a bigger number >>> >> > > >> > > I'm a little baffled. Why does the disk cache size make a difference >> > > here? He has four disks - I'd have thought that 1021 would be plenty. >> > > > > 1021 is the number of cached 4KiB blocks and is used in hash > > calculations. If he has a lot of cache misses it will result in long > > boot times > Do you have a recommendation for a new value? I can build a test package and ask Dean to try it out. -- Dean Loros autocrosser at ubuntuforums.org Performance by Design Ltd.