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 1DuZNp-0005tc-Fd for garchives@archives.gentoo.org; Mon, 18 Jul 2005 17:26:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6IHMtlP012749; Mon, 18 Jul 2005 17:22:56 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6IHEGtY001249 for ; Mon, 18 Jul 2005 17:14:17 GMT Received: by zproxy.gmail.com with SMTP id n1so937771nzf for ; Mon, 18 Jul 2005 10:15:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Rphsi9P657zW2l0dZWAXqL+HB3Yhweu7lXOTNY4xbOmLGX7ct4FWDCg4YXTNisy2+3n9gq9mXYLe+jhzdhVlQ+V2rWw+FPQ/RZvM82B22zIQ057heOSQaxdObUxuTD7SqsskV+Ck8Wvrv+a75iki7Y6wRNf47DBc17VvBPsn5O4= Received: by 10.36.81.19 with SMTP id e19mr1438320nzb; Mon, 18 Jul 2005 10:14:41 -0700 (PDT) Received: by 10.36.31.4 with HTTP; Mon, 18 Jul 2005 10:14:41 -0700 (PDT) Message-ID: Date: Mon, 18 Jul 2005 14:14:41 -0300 From: Bruno Lustosa To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Howto speed up compilations In-Reply-To: <20050718170738.GA5538@may.frognet.net> 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: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <20050718170738.GA5538@may.frognet.net> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j6IHEGtY001249 X-Archives-Salt: 3123e1c2-30bd-4f1e-a80e-a17ba9ce397f X-Archives-Hash: 956a37e1aba54a668a604e507550325d On 7/18/05, John J. Foster 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. 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. And if you use -pipe in your cflags, the gcc output isn't really written to disk during the various stages of compilation. Instead, it's piped through the processes. Well... maybe someone will give you some accurate results. Just my 2c. -- Bruno Lustosa, aka Lofofora | Email: bruno@lustosa.net Network Administrator/Web Programmer | ICQ: 1406477 Rio de Janeiro - Brazil | -- gentoo-user@gentoo.org mailing list