limit number of sequential FAIL* experiments to 50, in order to prevent swapping
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1494 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -129,7 +129,8 @@ bool ChecksumOOStuBSExperiment::run()
|
||||
#elif 1
|
||||
// STEP 3: The actual experiment.
|
||||
#if !LOCAL
|
||||
for (int i = 0; i < 400; ++i) { // more than 400 will be very slow (500 is max)
|
||||
for (int i = 0; i < 50; ++i) { // only do 50 sequential experiments, to prevent swapping
|
||||
// 50 exp ~ 0.5GB RAM usage per instance (linearly increasing)
|
||||
#endif
|
||||
|
||||
// get an experiment parameter set
|
||||
|
||||
@ -266,7 +266,8 @@ bool EcosKernelTestExperiment::faultInjection() {
|
||||
BPSingleListener bp;
|
||||
|
||||
#if !LOCAL
|
||||
for (int i = 0; i < 400; ++i) { // more than 400 will be very slow (500 is max)
|
||||
for (int i = 0; i < 50; ++i) { // only do 50 sequential experiments, to prevent swapping
|
||||
// 50 exp ~ 0.5GB RAM usage per instance (linearly increasing)
|
||||
#endif
|
||||
|
||||
// get an experiment parameter set
|
||||
|
||||
@ -140,7 +140,8 @@ bool WeatherMonitorExperiment::run()
|
||||
#elif 0
|
||||
// STEP 3: The actual experiment.
|
||||
#if !LOCAL
|
||||
for (int i = 0; i < 500; ++i) {
|
||||
for (int i = 0; i < 50; ++i) { // only do 50 sequential experiments, to prevent swapping
|
||||
// 50 exp ~ 0.5GB RAM usage per instance (linearly increasing)
|
||||
#endif
|
||||
|
||||
// get an experiment parameter set
|
||||
|
||||
Reference in New Issue
Block a user