Re: -Os versus -O2



On Sun, 2007-06-24 at 18:08 -0700, david@xxxxxxx wrote:

on a system level, size can help performance because you have more
memory available for other things. It also reduces download size and
gives you more space on the live CD....

if you want to make things bigger again, please do this OUTSIDE the
"optimize for size" option. Because that TELLS you to go for size.

then do we need a new option 'optimize for best overall performance' that
goes for size (and the corresponding wins there) most of the time, but is
ignored where it makes a huge difference?

that isn't so easy. Anything which doesn't have a performance tradeoff
is in -O2 already. So every single thing in -Os costs you performance on
a micro level.

The translation to macro level depends greatly on how things are used
(you even have to factor in download times etc)... so that is a fair
question to leave up to the user... which is what there is today.

--
if you want to mail me at work (you don't), use arjan (at) linux.intel.com
Test the interaction between Linux and your BIOS via http://www.linuxfirmwarekit.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: -Os versus -O2
    ... ignoring things like download times, ... however recent cpu's are significantly better as handling jumps and loops, ... and the cost of cache misses is significantly worse. ... (you even have to factor in download times etc)... ...
    (Linux-Kernel)
  • Re: -Os versus -O2
    ... ok, if you look at a micro-enough level this may be true, but completely ignoring things like download times, the optimizations almost always boil down to trying to avoid jumps, loops, and decision logic at the expense of space. ...
    (Linux-Kernel)
  • Re: Classical, Now Without the 300-Year Delay
    ... "Lossless" technology, still in the wings, is expected to improve the ... Internet connections and download times longer than the two minutes or so it ... And the sound will still be more compressed than ...
    (rec.music.classical.recordings)
  • Re: LOST series two download question?
    ... >> value, download times etc, This is my first post. ... >Download and install Azureus from here: ...
    (uk.media.dvd)
  • Re: Question about downloading personal information
    ... server on a regular basis, I download files that contain personal information about other people from the server directly onto a memory stick, this is then transferred to another computer. ... The computer I use to download the personal information onto a memory stick is the computer I do not wish any trace of this personal information to exist on due to it being a shared computer. ...
    (alt.computer.security)