Mercurial > hg > aboriginal
changeset 457:13d97c8af024
Distcc accepts twice as many client connections as CPUs.
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 07 Nov 2008 15:53:42 -0600 |
parents | 2a308aa24aec |
children | 44853486b6e2 |
files | sources/toys/run-with-distcc.sh |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/toys/run-with-distcc.sh Fri Nov 07 14:21:49 2008 -0600 +++ b/sources/toys/run-with-distcc.sh Fri Nov 07 15:53:42 2008 -0600 @@ -44,7 +44,7 @@ # Prepare some environment variables for run-qemu.sh export DISTCC_PATH_PREFIX=/tools/distcc: -CPUS=$[$(echo /sys/devices/system/cpu/cpu[0-9]* | wc -w)+1] +CPUS=$[$(echo /sys/devices/system/cpu/cpu[0-9]* | wc -w)*2] export KERNEL_EXTRA="DISTCC_HOSTS=10.0.2.2:$PORT CPUS=$CPUS $KERNEL_EXTRA" # Hand off to run-with-home.sh in the directory this script's running from.