pptp client
 overview
 license
 getting started
 features
 try it
 download
 links
 documentation 
 index
 debian
 fedora core 1
 fedora core 2
 fedora core 3
 fedora core 4
 fedora core 5
 fedora core 6
 gentoo
 knoppix
 mandrake 9.0
 mandrake 10.0
 mandrake 10.1
 netbsd
 red hat 9
 red hat 8.0
 red hat 7.3
 suse 10.0
 suse 9.2
 suse 9.1
 suse 8.2
 ubuntu
 diagnosis
 support faq
 diagrams
 routing
 security
team
 developers
 cvs
 contact us
 

PPTP Client


Debian MPPE Kernel Build with distcc HOWTO

by James Cameron
18th December 2003

distcc is a distributed C compiler. It can spread the load of a kernel build across many machines.

  1. Set up the compiler farm on a network, they should all be able to communicate using TCP/IP with each other,

  2. Install the distcc and gcc-2.95 packages on each host,

  3. Enable distcc in /etc/inetd.conf,

  4. Choose the fastest host as the master, from where you will direct the package build,

  5. Configure the /etc/distcc/hosts file on the master host to include the host name or IP address of each of the hosts in the farm, in ascending order by speed, though you may choose to place the "localhost" line near the end, or even not at all,

  6. Determine a concurrency level, which the distcc authors recommend as twice the number of hosts,

  7. Apply the patches you desire, then start the build with this command:

    # time CONCURRENCY_LEVEL=8 CC="distcc gcc-2.95" make-kpkg \
      --append_to_version -mppe \
      --initrd kernel-image binary-arch

    Note: the time command times the build and displays a report at the end.

    Note: one can also use CC="ccache distcc gcc-2.95" to cache the results of the compile in case minor changes might be made. For more information, see the documentation for the ccache package.

  8. On selected hosts, watch the load or the logs:

    # tail -f /var/log/distccd.log

  9. The package should eventually be completed.