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)
|
PROCESSORS=$(fgrep processor /proc/cpuinfo|wc -l)
|
||||||
if [ -z "$1" ]
|
if [ -z "$1" ]
|
||||||
then
|
then
|
||||||
NWIN=$(($PROCESSORS+1))
|
NWIN=$PROCESSORS
|
||||||
#NWIN=$(($NWIN*2))
|
|
||||||
else
|
else
|
||||||
NWIN=$1
|
NWIN=$1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user