[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] -Os and -O2

From: Robert Millan
Subject: Re: [RFC] -Os and -O2
Date: Sun, 30 Aug 2009 15:35:55 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]