From d513c76eea8d81daa05894bf09a60b560a81169c Mon Sep 17 00:00:00 2001 From: jzhou Date: Thu, 26 Nov 2009 00:35:36 +0000 Subject: [PATCH] change to 16m large page --- Robust/src/Runtime/multicoreruntime.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Robust/src/Runtime/multicoreruntime.h b/Robust/src/Runtime/multicoreruntime.h index 220b6d8a..988f7629 100644 --- a/Robust/src/Runtime/multicoreruntime.h +++ b/Robust/src/Runtime/multicoreruntime.h @@ -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 -- 2.34.1