Printable Version of Topic

Click here to view this topic in its original format

Linuxhelp _ Tips and Tricks _ Distcc

Posted by: hughesjr Nov 30 2003, 09:54 PM

If you do a lot of compiles (Gentoo Users ... take note!) then http://distcc.samba.org/ is just what the doctor ordered.

The http://distcc.samba.org/doc.html is pretty good, and the results are great.

I have a Gentoo install on a PIII 800, 768mb RAM machine ... I distributed the compiles across 3 other machines (P4 2.0 ghz winXP, 1gb RAM...Dual P4 2.4 ghz debian, 1gb RAM...Dual PIII 1.0 ghz Win2KServer, 1.5GB RAM).

I did a compile test of the 2.4.22 gentoo-test-sources kernel (Make dep, make clean, make bzImage). I went from 15 Minutes 31 Seconds to 2 Minutes and 48 seconds!

Installation is straight forward. In debian, apt-get distcc gets you the latest version. In gentoo, emerge distcc.

This is an awesome utility....

Here is a http://forums.gentoo.org/viewtopic.php?t=66930 and http://www.gentoo.org/doc/en/distcc.xml for gentoo users.

Another great feature is that you can install http://cygwin.com/ on windows and then install disctcc and use windows machines to help compile your Linux code! (2 of my distcc machines are Windows based).

Posted by: Corey Dec 3 2003, 10:33 AM

I'm running Debian Woody, and it doesn't appear to be a package called 'distcc' in the archive, is there a non-official apt source for woody?

Posted by: hughesjr Dec 4 2003, 07:39 AM

Ops ... I have only installed it on Debian SID...I know it is in the unstable packages at debain.org.

I just tried to look at the packages for testing and stable, but they don't have the http://packages.debian.org server back on-line yet (from the rootkit incdents).

I also looked for a deb file for woody and couldn't find any, but distcc should build OK from the source files on woody (in fact lots of the people who posted http://distcc.samba.org/results.html were using woody).

Posted by: REdOG Dec 17 2003, 01:40 AM

the gentoo KDE and GNOME live cd's come with distcc and toolchains ready to go.
Burn a cd, boot with the boot option cdcache and you can remove the cd to boot every computer in the lab and distcc that gentoo install you always wanted but were too impatient to wait for =P

hey joey you guys dont hangout on #dalnet anymore? I havent chatted with you guys in years! Who was the guy that got fired from fedex? ssomethinX I think....I forget that dude was candid... laugh.gif

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)