From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] content of /usr/portage/distfile
Date: Wed, 24 May 2006 13:45:48 -0700 [thread overview]
Message-ID: <7573e9640605241345q1cc0445fn292894f93d0396e2@mail.gmail.com> (raw)
In-Reply-To: <4474C785.3040203@gmail.com>
On 5/24/06, Alex <sohalt@gmail.com> wrote:
> > Using CFLAGS="-Os" or CFLAGS="-O2" is much more effective on
> > a desktop system and can shave off more than 30% of the size. This is
> > because larger binaries (like the HUGE ones produced by -O3)
> > take longer to load, and occupy more RAM.
>
> Is that always true? I mean, I'm not loading and unloading applications
> the whole time. Additionally I've enough RAM for all applications I use
> and so I can't imagine that (on my computer with my use) applications,
> which are slower and smaller, can be faster than applications which are
> bigger and faster.
It depends entirely on the application and processor. Compared to -O2,
somethings are faster with -Os and some things are slower. Same with
-O3. It can even depend upon the options given to an app, for example
bzip2 -9 will be faster with one level of optimization than with
another, while bzip2 -1 can give the complete opposite results.
I chose -Os for my system, but only after testing the things that I
care most about (compression, dm-crypt encryption, some media
encoding) to see what was best overall. But even that was a
comprimise, and the real deciding factor was that it took a lot less
time to compile with -Os compared to -O3.
-Richard
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-05-24 20:57 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-24 14:26 [gentoo-user] content of /usr/portage/distfile JC Denton
2006-05-24 14:35 ` Raymond Lewis Rebbeck
2006-05-24 14:37 ` Raphael Melo de Oliveira Bastos Sales
2006-05-24 14:47 ` JC Denton
2006-05-24 14:40 ` Ptitjack
2006-05-24 14:44 ` Neil Bothwick
2006-05-24 14:52 ` znx
2006-05-24 20:52 ` Alex
2006-05-24 19:49 ` Allan Gottlieb
2006-05-24 23:24 ` Alex
2006-05-25 0:26 ` Allan Gottlieb
2006-05-25 10:40 ` Alex
2006-05-25 13:55 ` Allan Gottlieb
2006-05-25 18:21 ` Alex
2006-05-25 18:09 ` Allan Gottlieb
2006-05-26 14:29 ` Alex
2006-05-24 20:45 ` Richard Fish [this message]
2006-05-25 0:00 ` Philip Webb
2006-05-25 14:44 ` Benno Schulenberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7573e9640605241345q1cc0445fn292894f93d0396e2@mail.gmail.com \
--to=bigfish@asmallpond.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox