fail*: don't use more cpus than available (more conservative default)

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1575 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
chb
2012-08-28 09:26:49 +00:00
parent cfddb311f6
commit dec7e377ee

View File

@ -44,8 +44,7 @@ SESSION=fail-client.$$
PROCESSORS=$(fgrep processor /proc/cpuinfo|wc -l)
if [ -z "$1" ]
then
NWIN=$(($PROCESSORS+1))
#NWIN=$(($NWIN*2))
NWIN=$PROCESSORS
else
NWIN=$1
fi