From: Allan Gottlieb <gottlieb@nyu.edu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] content of /usr/portage/distfile
Date: Wed, 24 May 2006 15:49:08 -0400 [thread overview]
Message-ID: <yu9irnvi4p7.fsf@nyu.edu> (raw)
In-Reply-To: <4474C785.3040203@gmail.com> (sohalt@gmail.com's message of "Wed, 24 May 2006 20:52:21 +0000")
At Wed, 24 May 2006 20:52:21 +0000 Alex <sohalt@gmail.com> wrote:
> Hi,
>
> znx wrote:
>> http://gentoo-wiki.com/TIP_Free_up_disk_space_in_Gentoo
>
> > 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.
Often the bigger problem with large binaries is that their working
sets exceeds the sizes of the L1 and (possibly) L2 caches. So, you
may well be right that your gigabytes of RAM greatly reduce disk
access to load and demand page applications, you may still get a
slowdown due to cache misses. Central memory, which is the fast &
small storage when considering demand paging, is the large but slow
storage when considering caching.
allan
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-05-24 20:02 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 [this message]
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
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=yu9irnvi4p7.fsf@nyu.edu \
--to=gottlieb@nyu.edu \
--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