From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1K8sE2-0001Lp-2p for mharc-grub-devel@gnu.org; Wed, 18 Jun 2008 03:37:02 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K8sDz-0001JR-Kg for grub-devel@gnu.org; Wed, 18 Jun 2008 03:36:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K8sDy-0001J8-Bl for grub-devel@gnu.org; Wed, 18 Jun 2008 03:36:58 -0400 Received: from [199.232.76.173] (port=40742 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K8sDy-0001J4-8u for grub-devel@gnu.org; Wed, 18 Jun 2008 03:36:58 -0400 Received: from mx20.gnu.org ([199.232.41.8]:5357) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K8sDx-00024N-Tx for grub-devel@gnu.org; Wed, 18 Jun 2008 03:36:58 -0400 Received: from c60.cesmail.net ([216.154.195.49]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K8sDx-0004VT-A5 for grub-devel@gnu.org; Wed, 18 Jun 2008 03:36:57 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 18 Jun 2008 03:36:56 -0400 Received: from [192.168.1.47] (pool-96-227-16-219.phlapa.east.verizon.net [96.227.16.219]) by relay.cesmail.net (Postfix) with ESMTP id B5BA4619058 for ; Wed, 18 Jun 2008 03:36:55 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: References: <20080615174819.GA3506@thorin> <1213670869.6330.12.camel@localhost> <1213713543.6330.24.camel@localhost> <1213723385.6330.35.camel@localhost> <1213758847.6330.59.camel@localhost> <1213760967.2940.8.camel@rd> Content-Type: text/plain Date: Wed, 18 Jun 2008 03:36:55 -0400 Message-Id: <1213774615.21026.18.camel@rd> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 (2.22.2-2.fc9) Content-Transfer-Encoding: 7bit X-detected-kernel: by mx20.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [RFC] split floppy support off biosdisk 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: Wed, 18 Jun 2008 07:37:00 -0000 On Wed, 2008-06-18 at 14:55 +0800, Bean wrote: > You can try Robert's case: > > grub-mkimage -d . -o core.img pc ext2 lvm raid 50764 image 35090 image.lzo 27308 image.gz 27012 image.bz2 24470 image.lzma > The uncompressed part need to be added as well, which is 1280 byte. It's actually going to depend on the decompression algorithm. > My concern about other compression is that even if space problem can > be fixed now, but the limit is not far away, so we may have to worry > about it again when new code is added, lzma could be a way to solve > this once and for all. We would save 7782 bytes going to gzip or 10620 bytes going to lzma. There is not much difference as long as we abandon lzop in favor of something else. If I run string on the image to be compressed, I see all function names, such as grub_biosdisk_get_diskinfo_int13_extensions. I don't see why we need function names there. Function names starting with "grub_" take 4590 bytes. It looks like we have some reserves for slimming down the core. -- Regards, Pavel Roskin