Quoting Bean <[EMAIL PROTECTED]>:

On Mon, Jun 16, 2008 at 9:06 PM, Pavel Roskin <[EMAIL PROTECTED]> wrote:
No, it was uncompressed.  GRUB 0.97 doesn't use LZO compression.

Yes, grub 0.97 don't use lzo, but I use external lzo tool to get the
result. It illustrates the result of lzo and lzma  algorithm on an
uncompressed file.

I know all that.

Anyway, we need to check savings on the GRUB 2 core image, which is much
shorter than stage2, and factor out the decompressor size.  My gut
feeling is that block sorting algorithms like lzma and bzip2 would be an
overkill, and even switching to gzip would be only marginally useful.

core.img is already compressed using lzo, so lzma's effect is not
apparent, but if we use lzma as the primary compressor, the saving
would be more significant.

I realize it.

Still, uncompressed core.img would be shorter than stage2 from GRUB 1, as a lot of code it modularized.

--
Regards,
Pavel Roskin


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to