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 1Dub0K-0002R2-MM for garchives@archives.gentoo.org; Mon, 18 Jul 2005 19:10:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6IJ7x2v001473; Mon, 18 Jul 2005 19:07:59 GMT Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6IJ0fs4001358 for ; Mon, 18 Jul 2005 19:00:42 GMT Received: by rproxy.gmail.com with SMTP id z35so1353915rne for ; Mon, 18 Jul 2005 12:01:32 -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=QbUz3oQ29y2yOLKvgafc6zYOyLabJQ+WkB9z6eeMyeqYgFg545zv/YwhzOXuxGq6mNaBFsZLXFrb6m2gN5C4Hp9f/6blVeLLBRzX6v2NDYUsUMTfr0JxjtBP/V0K2/30hnpGBSBEc5mEK1F0iUdj0r3JBIof2DqrhCS06FGkL5Q= Received: by 10.38.78.56 with SMTP id a56mr2048598rnb; Mon, 18 Jul 2005 12:01:32 -0700 (PDT) Received: by 10.38.78.42 with HTTP; Mon, 18 Jul 2005 12:01:32 -0700 (PDT) Message-ID: <342e1090507181201178ea14a@mail.gmail.com> Date: Mon, 18 Jul 2005 16:01:32 -0300 From: Daniel da Veiga To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Howto speed up compilations In-Reply-To: <42DBF792.40107@gmail.com> 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> <20050718185525.5fa55835@hactar.digimed.co.uk> <42DBF792.40107@gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j6IJ0fs4001358 X-Archives-Salt: 6b0040e9-fbcf-40c9-a1e9-d2305c4ccc8a X-Archives-Hash: dc1a7434089b1c27ff99f1bf7664b826 That sounded nice, if you can come with a "cluster" for compilation you may see good results, I've never used distcc but a friend got three athlon xps running and did it, he was able to install the three gentoos within a day (wich is more than I could ever expect after my 2 days stage1 install with no x or openoffice). On 7/18/05, Colin wrote: > Neil Bothwick wrote: > > >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. > >>> > >>> > >>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. > > > > > Not if you've got a machine with more than 3 GB of memory. A dual-proc > Power Mac G5 can handle up to 8 GB of physical RAM. If you did this > trick on one of those, you might see some serious improvement! But with > most PC's being limited (by the x86 and motherboard designs) to 2 GB of > physical RAM, it wouldn't work with large apps. > > A good suggestion would be to grab some old computers, Gentoo-ize them, > network them over 100BaseTX or Gigabit and make a little distcc farm. > Plus, you can charge people if they want to come over and rent your > computing power. (Virginia Tech does that with their "System X," 1,100 > dual-2.3GHz-processor XServe G5's.) :-) > -- > Colin > -- > gentoo-user@gentoo.org mailing list > > -- Daniel da Veiga Computer Operator - RS - Brazil -- gentoo-user@gentoo.org mailing list