From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dua21-0002zX-7V for garchives@archives.gentoo.org; Mon, 18 Jul 2005 18:07:57 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6II5qYQ019809; Mon, 18 Jul 2005 18:05:52 GMT Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6IHsbGf021029 for ; Mon, 18 Jul 2005 17:54:38 GMT Received: from [82.69.83.178] (helo=desiato.digimed.co.uk) by rutherford.zen.co.uk with esmtp (Exim 4.34) id 1DuZpw-00075q-C2 for gentoo-user@lists.gentoo.org; Mon, 18 Jul 2005 17:55:28 +0000 Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.2]) by desiato.digimed.co.uk (Postfix) with ESMTP id 03AAF1406264 for ; Mon, 18 Jul 2005 18:55:26 +0100 (BST) Date: Mon, 18 Jul 2005 18:55:25 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Howto speed up compilations Message-ID: <20050718185525.5fa55835@hactar.digimed.co.uk> In-Reply-To: References: <20050718170738.GA5538@may.frognet.net> Organization: Digital Media Production X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Signature_Mon__18_Jul_2005_18_55_25_+0100_n=PhdQJD7I9Ulx9E"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Originating-Rutherford-IP: [82.69.83.178] X-Archives-Salt: bab85dcb-cf55-4476-9665-0d9ed4fb4bd6 X-Archives-Hash: d7c215db45074fb731fcc991a09018c0 --Signature_Mon__18_Jul_2005_18_55_25_+0100_n=PhdQJD7I9Ulx9E Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Mon, 18 Jul 2005 14:14:41 -0300, Bruno Lustosa wrote: > > A few weeks ago I read in one of the newgroups a way to greatly > > decrease compilation times. The author noted that this was > > particularly noticable when working with something like OO. The > > general jist of it was to create temporary file system in memory and > > mount your portage tmpdir there. For the life of me, I can't find > > that thread anymore. Does anyone do something similar to this? Are > > there noticable gains to be had. I have an Athlon 2800XP and 1 GB ram. >=20 > I am not sure if this will give a tremendous speedup. Granted, the > source files won't need to be read from disk, which is an advantage, > however, the file reading time should be very small compared to the > time it takes for the compiler to translate the source code into > machine code. > Also, there's the ammount of memory you will lose, memory that could > be used by the compiler. In some cases, gcc can eat very big chunks of > memory. Not to mention the OOo ebuild needing around 3GB of space in TMPDIR, so this approach would only result in the emerge failing quicker. --=20 Neil Bothwick Capt'n! The spellchecker kinna take this abuse! --Signature_Mon__18_Jul_2005_18_55_25_+0100_n=PhdQJD7I9Ulx9E Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC2+0Num4al0N1GQMRAoxMAKCPsLKoJSNCBtnksOO9Qpzsx5CtOQCeMcS8 /uMHtgYmDLsZLPxZ1w+BA3o= =5oQn -----END PGP SIGNATURE----- --Signature_Mon__18_Jul_2005_18_55_25_+0100_n=PhdQJD7I9Ulx9E-- -- gentoo-user@gentoo.org mailing list