On Fri, Aug 28, 2009 at 09:31:11PM +0200, Vladimir 'phcoder' Serbinenko wrote:
> Hello. Current GRUB2 optimisation strategy is to compile whole grub
> with -Os but only kernel, bus modules, disk modules, partmap and fs
> modules have size concerns. Graphical modules have speed concerns. So
> I propose following optimisation strategy:
> -Os for kernel, bus modules, disk modules, partmap and fs
> -O2 for other modules

Size also affects load time, which is slow because we rely on non-free
firmware code for it (BIOS, EFI...).

A proposal to change this should be accompanied by some benchmarks on
real hardware.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."


_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel
  • [RFC] -Os and -O2 Vladimir 'phcoder' Serbinenko
    • Re: [RFC] -Os and -O2 Robert Millan

Reply via email to