From: Duncan <1i5t5.duncan@cox.net>
To: gentoo-amd64@lists.gentoo.org
Subject: [gentoo-amd64] Re: Is swap need when there is 4g of ram?
Date: Thu, 15 Mar 2007 10:00:05 +0000 (UTC) [thread overview]
Message-ID: <pan.2007.03.15.10.00.04@cox.net> (raw)
In-Reply-To: 200703142003.11766.volker.armin.hemmann@tu-clausthal.de
"Hemmann, Volker Armin" <volker.armin.hemmann@tu-clausthal.de> posted
200703142003.11766.volker.armin.hemmann@tu-clausthal.de, excerpted below,
on Wed, 14 Mar 2007 20:03:11 +0100:
> j2 for MAKEOPTS and +kdeenablefinal and after some time each one of the
> makejobs want 900mb ram. There are two libs where that happens, makes
> kdepim the slowest-to-compile packet for me. Wesnoth is also an
> offender. Some versions want 500mb+ at some point when compiling.
In general c++/g++ is FAR more memory and CPU intensive than gcc
compiling C. I look at it this way (non-technical explanation), the OOP
functionality of C++ is a great productivity enhancement for programmers,
making them more effective. However, the tradeoff is that it makes the
compiler work harder doing all the stuff automatically that the
programmer didn't do manually.
For those of us using split KDE packages rather than the monolithic
versions, kmail is the particular part of kdepim that requires the huge
resources. With USE=kdeenablefinal (which is designed for file
distribution level compilation, and turns on a bunch of compile resource
expensive optimizations to make run-time performance as good as
possible), on AMD64 at least, one specific compile job in that package
requires over a gig of memory at one particular point. Anybody who has
only a gig of memory WILL be in swap at that point, there's no way around
it except to USE=-kdeenablefinal for that package, setting it in
package.use or whatever.
It'd be interesting to be enough of a programmer to figure out exactly
what's requiring all that memory, but it's beyond my rather limited
capacities in that area, so...
--
Duncan - List replies preferred. No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master." Richard Stallman
--
gentoo-amd64@gentoo.org mailing list
next prev parent reply other threads:[~2007-03-15 10:04 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-13 9:09 [gentoo-amd64] Is swap need when there is 4g of ram? P.V.Anthony
2007-03-13 9:56 ` Hemmann, Volker Armin
2007-03-13 12:46 ` Joaquim Quinteiro Uchoa
2007-03-13 13:39 ` Hemmann, Volker Armin
2007-03-13 14:28 ` Joaquim Quinteiro Uchoa
2007-03-13 14:35 ` Hemmann, Volker Armin
2007-03-14 23:00 ` Paul de Vrieze
2007-03-13 14:11 ` dustin
2007-03-13 14:32 ` Hemmann, Volker Armin
2007-03-13 20:24 ` Richard Freeman
2007-03-14 14:19 ` Jack Lloyd
2007-03-14 17:01 ` Hemmann, Volker Armin
2007-03-14 17:26 ` Bernhard Auzinger
2007-03-14 19:03 ` Hemmann, Volker Armin
2007-03-14 21:21 ` Bernhard Auzinger
2007-03-15 10:00 ` Duncan [this message]
2007-03-13 14:30 ` [gentoo-amd64] " Duncan
2007-03-18 3:42 ` P.V.Anthony
2007-03-13 18:04 ` [gentoo-amd64] " Peter Humphrey
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=pan.2007.03.15.10.00.04@cox.net \
--to=1i5t5.duncan@cox.net \
--cc=gentoo-amd64@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