Assign each core 4 blocks of shared memory and set up the benchmarks' workload to...
authorjzhou <jzhou>
Sat, 17 Jul 2010 22:19:17 +0000 (22:19 +0000)
committerjzhou <jzhou>
Sat, 17 Jul 2010 22:19:17 +0000 (22:19 +0000)
Robust/src/Benchmarks/Scheduling/GC/Fibheaps/TestRunner.java
Robust/src/Benchmarks/Scheduling/GC/GCBench/GCBench.java
Robust/src/Benchmarks/Scheduling/GC/MTree/macrotest_tree.java
Robust/src/Benchmarks/Scheduling/GC/RayTracer/RayTracerBench.java
Robust/src/Runtime/multicoreruntime.h

index 4c8139cd1b9056f2b5158388ae06c966b3ac0454..eec6f631f7f6df468cb650217858eb354f6f7bb2 100644 (file)
@@ -7,7 +7,7 @@ public class TestRunner {
   
   public void run() {
     // generate test data
-    int iter = 700; //200;
+    int iter = 1000; //200;
     int seed = 1967;
     //Vector testdata = new Vector(iter);
     FibHeap fh = new FibHeap();
index 2db25116ffacc12fad8509a3444149b8685867dc..2d8aa5be0431c08e5bd93e1f1108daa859c3cdb1 100644 (file)
@@ -83,9 +83,9 @@ public class TestRunner {
   public static final int kMaxTreeDepth;// = 16;
   
   public TestRunner() {
-    kStretchTreeDepth    = 12;// 1/2Mb 18;  // about 16Mb
-    kLongLivedTreeDepth  = 10; // 1/8Mb 16;  // about 4Mb
-    kArraySize  = 125000/16; // 1/8Mb 500000;  // about 4Mb
+    kStretchTreeDepth    = 13;// 1Mb 18;  // about 16Mb
+    kLongLivedTreeDepth  = 11; // 1/4Mb 16;  // about 4Mb
+    kArraySize  = 125000/8; // 1/4Mb 500000;  // about 4Mb
     kMinTreeDepth = 4;
     kMaxTreeDepth = 16;
   }
index ea2fffcbaa571e78cf55876e4cfff360a877ff82..4a5bec80f74c78b2fd840aad4e88d167122c0e4d 100644 (file)
@@ -2,7 +2,7 @@ task t1(StartupObject s{initialstate}) {
        //System.printString("task t1\n");
        
        int threadnum = 62;
-    int size = 21500;
+    int size = 30000;
     int nodenum = size*10;
        for(int i = 0; i < threadnum; ++i) {
                TestRunner tr = new TestRunner(i, size, nodenum){run};
index e8eddd67c0fa78c36b15dca2dfba3d659442282f..a19f88920107d85c240c44b38778812620efce08 100644 (file)
@@ -2,7 +2,7 @@ task t1(StartupObject s{initialstate}) {
   //System.printString("task t1\n");
 
   int threadnum = 62;
-  int size = threadnum * 20;
+  int size = threadnum * 25;
   Composer comp = new Composer(threadnum, size){compose};
   for(int i = 0; i < threadnum; ++i) {
     TestRunner tr = new TestRunner(i, threadnum, size){run};
index 6ab3aa9bc33f6b7a7c569d93e3818e0ffc680e71..f78f487cfd206cc2e346355bb7025a4157daca7a 100644 (file)
@@ -282,11 +282,11 @@ struct Queue * totransobjqueue; // queue to hold objs to be transferred
 #define BAMBOO_SMEM_SIZE (64 * 64) // (BAMBOO_PAGE_SIZE)
 #define BAMBOO_SHARED_MEM_SIZE ((BAMBOO_PAGE_SIZE) *(BAMBOO_NUM_PAGES))
 #else
-#define BAMBOO_NUM_PAGES (256) //(15 * 1024) //(64 * 4 * 0.75) //(1024 * 1024 * 3.5)  3G
+#define BAMBOO_NUM_PAGES (62*(2+3)) //(15 * 1024) //(64 * 4 * 0.75) //(1024 * 1024 * 3.5)  3G
 #define BAMBOO_PAGE_SIZE (4 * 1024 * 1024)  // (4096)
 #define BAMBOO_SMEM_SIZE (4 * 1024 * 1024)
-#define BAMBOO_SHARED_MEM_SIZE (1024 * 1024 * 1024) //(1024 * 1024 * 240)
-//((unsigned long long int)(3.0 * 1024 * 1024 * 1024)) // 3G// ((BAMBOO_PAGE_SIZE) * (BAMBOO_NUM_PAGES))
+#define BAMBOO_SHARED_MEM_SIZE ((BAMBOO_PAGE_SIZE) * (BAMBOO_NUM_PAGES)) //(1024 * 1024 * 240)
+//((unsigned long long int)(3.0 * 1024 * 1024 * 1024)) // 3G 
 #endif // GC_DEBUG
 
 #ifdef MULTICORE_GC