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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user