From 251ef7902782af43570b308542b348b38bd538d2 Mon Sep 17 00:00:00 2001 From: Stefan Derkits Date: Thu, 13 Jun 2013 16:02:05 +0200 Subject: [PATCH] create 1500 jobs & make jobs run longer --- build.xml | 6 +++--- src/at/ac/tuwien/lsdc/JobGenerator.java | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.xml b/build.xml index 26fff2a..97c8391 100644 --- a/build.xml +++ b/build.xml @@ -35,7 +35,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -53,7 +53,7 @@ - + diff --git a/src/at/ac/tuwien/lsdc/JobGenerator.java b/src/at/ac/tuwien/lsdc/JobGenerator.java index 49bb796..091ecc3 100644 --- a/src/at/ac/tuwien/lsdc/JobGenerator.java +++ b/src/at/ac/tuwien/lsdc/JobGenerator.java @@ -22,7 +22,7 @@ public class JobGenerator { private static int numWBA; private static int numHPA; - + private static Random rand = new Random(); private static CSVWriter writer; @@ -108,7 +108,7 @@ public class JobGenerator { int size = randomInt(20, 100); int ram = randomInt(30, 50); int cpu = randomInt(50, 100); - int duration = randomInt(1, 50); + int duration = randomInt(10, 100) + 75; numWBA++; writeApplication(timestamp,size,ram,cpu,duration); } @@ -117,7 +117,7 @@ public class JobGenerator { int size = randomInt(150, 500); int ram = randomInt(100, 700); int cpu = randomInt(100, 400); - int duration = randomInt(1, 50); + int duration = randomInt(10, 100) + 75; numHPA++; writeApplication(timestamp,size,ram,cpu,duration); } -- 2.43.0