Prabhat Gupta wrote:


Andrew Gaffney wrote:

Prabhat Gupta wrote:

wow!!

Looks like I will get some improvement. I have a 2.4G HP laptop with gentoo installed.
So what I will do now it to omit the localhost form


DISTCC_HOSTS


What should be my "-j" value for this senario? 2??



Typically its CPUs + 1, so you've got host computer + distcc laptop = 2 CPUs, so set -j3


I want all my compilation on the fast machine. Should I set it -j2 ?

You should set:


MAKEOPTS="-j2"
DISTCC_HOSTS="fastmachine/2"
FEATURES="ccache distcc"

where fastmachine is the hostname or ip of the fastermachine. The '/2' means it can accept 2 jobs at once.

--
Andrew Gaffney


-- [EMAIL PROTECTED] mailing list



Reply via email to