begin quote On Fri, 14 Nov 2003 01:47:21 +0100 Oliver Lange <[EMAIL PROTECTED]> wrote:
> > Yeah, but is this rough installation the perfect way for optimum speed > ? For some detail: distcc takes care of the $TMPDIR var, while emerge > bravely puts the large distribution file stuff to /var/tmp, while > gcc is using /tmp by default, which is fine. What about the others, > and how could i speedup the data transfer between the servers by > routing their output to the tmpfs ramdisk, and how ? :) well. a) put CCACHE datadir on a separate partition, preferrably sized at 3 gb for a 2 gb cache, make it ext2, noatime,noexec,nosuid,nodev (just as a precaution) b) var/tmp/portage on tmpfs : do you really have the amount of RAM necessary for this? I think not, and if you go tmpfs>swap , then you loose whatever performance you gained. I have /var/tmp on a 4 Gb ext2 partition (yes, ext2 is still the fastest fielsystem) with noatime set. I also have a bootscript that wipes /var/tmp/portage (tmpclean modified) /tmp is on a 25Mb tmpfs for me. DISTCC is set to use /tmp for its files, on all hosts. (tmpfs) DISTCC_HOST ordering: localhost/1 (so it will be called on configure and at the first time) fastcomputerA/2 fastcomputerB/2 fastcomputerC/2 slowcomputerA/1 slowcomputerB/1 slowcomputerC/1 slowcomputerD/1 slowcomputerE/1 localhost/1 MAKEOPTS=2*n(fastcomputer)+2*n(localhost)+n(slowcomputer) 6 + 2 +5 = 13 //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end
pgp00000.pgp
Description: PGP signature
