change to 16m large page
authorjzhou <jzhou>
Thu, 26 Nov 2009 00:35:36 +0000 (00:35 +0000)
committerjzhou <jzhou>
Thu, 26 Nov 2009 00:35:36 +0000 (00:35 +0000)
Robust/src/Runtime/multicoreruntime.h

index 220b6d8ae8b3c4fe29289ecbb0ba314cc9487d35..988f7629de692ad431405773c101de3f8e90fc42 100644 (file)
@@ -219,12 +219,13 @@ struct Queue * totransobjqueue; // queue to hold objs to be transferred
 #include "structdefs.h"
 #define BAMBOO_NUM_PAGES (NUMCORES*(2+1)+3)
 #define BAMBOO_PAGE_SIZE (64 * 64)
-#define BAMBOO_SMEM_SIZE (BAMBOO_PAGE_SIZE)
+#define BAMBOO_SMEM_SIZE (64 * 64) // (BAMBOO_PAGE_SIZE)
 #else
-#define BAMBOO_NUM_PAGES (1024 * 1024 * 3.5)
-#define BAMBOO_PAGE_SIZE (4096)
-#define BAMBOO_SMEM_SIZE (16 * BAMBOO_PAGE_SIZE)
+#define BAMBOO_NUM_PAGES (64 * 4 * 0.75) //(1024 * 1024 * 3.5)
+#define BAMBOO_PAGE_SIZE (16 * 1024 * 1024)  // (4096)
+#define BAMBOO_SMEM_SIZE (16 * 1024)
 #endif
+
 #define BAMBOO_SHARED_MEM_SIZE (BAMBOO_PAGE_SIZE * BAMBOO_NUM_PAGES)
 
 #ifdef MULTICORE_GC