Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MQbVY-0003g0-BL for mharc-grub-devel@gnu.org; Tue, 14 Jul 2009 02:28:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQbVX-0003ft-7N for grub-devel@gnu.org; Tue, 14 Jul 2009 02:28:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQbVS-0003ek-FV for grub-devel@gnu.org; Tue, 14 Jul 2009 02:28:54 -0400 Received: from [199.232.76.173] (port=57268 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQbVS-0003ef-AH for grub-devel@gnu.org; Tue, 14 Jul 2009 02:28:50 -0400 Received: from mx20.gnu.org ([199.232.41.8]:48769) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQbVR-0003Go-W1 for grub-devel@gnu.org; Tue, 14 Jul 2009 02:28:50 -0400 Received: from kofler.cc ([213.239.211.2]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQbVQ-0005dR-0q for grub-devel@gnu.org; Tue, 14 Jul 2009 02:28:48 -0400 Received: from [10.0.0.28] (93-82-89-101.adsl.highway.telekom.at [93.82.89.101]) (Authenticated sender: kofler) by kofler.cc (Postfix) with ESMTPSA id E75343204A for ; Tue, 14 Jul 2009 08:28:44 +0200 (CEST) Message-ID: <4A5C259B.1020706@kofler.cc> Date: Tue, 14 Jul 2009 08:28:43 +0200 From: Michael Kofler User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: search for UUIDs is slow ... 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, 14 Jul 2009 06:28:55 -0000 ... if you have many partitions. On my test machine, I have 18 regular partitions and 5 logical volumes (LVM) on two disks (1.5 TByte total). (Ubuntu Jaunty, GRUB 1.96+20080724-12ubunut2) search for UUIDs takes quite long, up to several seconds (depending on where the UUID is found) 1) I would prefer grub.cfg without search commands. I seldom change my configuration, and if I do, I know I have to run update-grub. Is there a chance to add another option to /etc/default/grub, i.e. GRUB_SEARCH=yes/no (yes being the default setting, of course)? 2) If not, it might be a good idea to optimize GRUB in this regard. If there is a timeout > 0 and there is no interaction, GRUB could scan the disks to find and cache all UUIDs while waiting for the timeout to end. Thank you, Michael Kofler