Distcc

From RHLUG

Jump to: navigation, search

[edit] About

Distcc is a program for distributed compiling. It sends preprocessed C code across a network so it can be compiled on other machines, the other machine then sends the object file back.

This can produce a noticeable speedup on slow machines, however it will not help with the ./configure (GNU Autotools) stage, or the linking stage.

[edit] Security

Distcc allows arbitrary commands to be run as the distcc user. If you feel this is to much of a security hole then don't run distccd. In order to secure it properly you should probably be running distccd with something like --allow 137.112.0.0/16 which will restrict access to the Rose-Hulman network. You should also make sure that it is running as an unprivileged user.

[edit] Hosts running distccd

IP/Hostname GCC version User Specifications Comments
d.dhcp.rose-hulman.edu i686-pc-linux-gnu - 4.3.2 Andy753421 Core 2 Quadro, 2.0GB DDR Not always running linux
andy753421.ath.cx i686-pc-linux-gnu - 4.1.2 Andy753421 Athlon XP 2600+, 512MB DDR
freya.phire.org i686-pc-linux-gnu - 4.1.2 Auchtemm Athlon XP 2100+, 256MB DDR
mrozekma.com i686-pc-linux-gnu - 4.1.2 MoraSique Athlon XP 3000+, 768MB DDR
Personal tools