From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MpjnF-0002e7-2Y for mharc-grub-devel@gnu.org; Mon, 21 Sep 2009 10:23:05 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MpjnD-0002dZ-2m for grub-devel@gnu.org; Mon, 21 Sep 2009 10:23:03 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mpjn7-0002cB-Rc for grub-devel@gnu.org; Mon, 21 Sep 2009 10:23:02 -0400 Received: from [199.232.76.173] (port=54948 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mpjn7-0002c6-JX for grub-devel@gnu.org; Mon, 21 Sep 2009 10:22:57 -0400 Received: from mail-fx0-f205.google.com ([209.85.220.205]:56115) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mpjn7-0000Ps-6c for grub-devel@gnu.org; Mon, 21 Sep 2009 10:22:57 -0400 Received: by fxm1 with SMTP id 1so2335872fxm.31 for ; Mon, 21 Sep 2009 07:22:56 -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 :content-type:content-transfer-encoding; bh=mfTStPmHGCYlzZaH6um0kSZry9FMZNmOTS0CgrO58Mw=; b=nwp+uiEGmLvE9zfU63G5mrnS/gr7QmC9ymyfG0sxuAl+aAGC/bRrcy7HZrLG8kxR+w b+/WAelPa8x4loo8cfnshCWickdjLBbGWpqOqBuDguCa64Wlexk1uyXLMJydcf/CBv7W zhF+nmXP7JZjUhH01ya9WDBral8RJnIO6QBKY= 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:content-type:content-transfer-encoding; b=Ws4rwyrSlhabC/68/GzAwzkrR4PW3F8Ru5WUXFFk2oyq8acDQz4dh7dyjKHFkw/gHD 3vM6zWfnqyVNZeFlIkKOM1CrCjDL77lfzMaF5TxF5rqqhcmHbX1FCfhSXGsEVV4XUHXg 2orLWm1uT/lI8ZUOU28rRM3jpPUjwrIh3NzUE= Received: by 10.204.156.24 with SMTP id u24mr4342598bkw.172.1253542976126; Mon, 21 Sep 2009 07:22:56 -0700 (PDT) Received: from ?82.130.79.152? (ifw-public-dock-152-dhcp.ethz.ch [82.130.79.152]) by mx.google.com with ESMTPS id 2sm171395fks.33.2009.09.21.07.22.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 21 Sep 2009 07:22:55 -0700 (PDT) Message-ID: <4AB78C3D.9080202@gmail.com> Date: Mon, 21 Sep 2009 16:22:53 +0200 From: Vladimir 'phcoder' Serbinenko User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090701) MIME-Version: 1.0 To: The development of GRUB 2 References: <4ab6528a.9153f10a.3360.ffffaa79SMTPIN_ADDED@mx.google.com> <4AB6592E.7050704@gmail.com> <4AB689CD.4060501@gmail.com> <20090921141652.GL13423@riva.ucam.org> In-Reply-To: <20090921141652.GL13423@riva.ucam.org> Content-Type: text/plain; charset=UTF-8 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: Mon, 21 Sep 2009 14:23:03 -0000 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