Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MpkLS-0002Ma-LT for mharc-grub-devel@gnu.org; Mon, 21 Sep 2009 10:58:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpkLR-0002MP-LS for grub-devel@gnu.org; Mon, 21 Sep 2009 10:58:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MpkLM-0002M3-Lg for grub-devel@gnu.org; Mon, 21 Sep 2009 10:58:24 -0400 Received: from [199.232.76.173] (port=33729 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MpkLM-0002M0-GY for grub-devel@gnu.org; Mon, 21 Sep 2009 10:58:20 -0400 Received: from smarthost01.mail.zen.net.uk ([212.23.3.140]:33751) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MpkLL-0002OX-UK for grub-devel@gnu.org; Mon, 21 Sep 2009 10:58:20 -0400 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost01.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1MpkLK-000742-CM for grub-devel@gnu.org; Mon, 21 Sep 2009 14:58:18 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1MpkLJ-0007br-00; Mon, 21 Sep 2009 15:58:17 +0100 Date: Mon, 21 Sep 2009 15:58:17 +0100 From: Colin Watson To: The development of GRUB 2 Message-ID: <20090921145817.GM13423@riva.ucam.org> References: <4ab6528a.9153f10a.3360.ffffaa79SMTPIN_ADDED@mx.google.com> <4AB6592E.7050704@gmail.com> <4AB689CD.4060501@gmail.com> <20090921141652.GL13423@riva.ucam.org> <4AB78C3D.9080202@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AB78C3D.9080202@gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost01-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: Mon, 21 Sep 2009 14:58:25 -0000 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. -- Colin Watson [cjwatson@ubuntu.com]