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:
chb
2012-08-15 11:05:27 +00:00
parent 2b72988203
commit e6546c1365
3 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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