reduced the initial size of LBComm table for bigsim so that it uses less memory.
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 13 Jan 2009 07:33:31 +0000 (07:33 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 13 Jan 2009 07:33:31 +0000 (07:33 +0000)
src/ck-ldb/LBComm.h

index 28aca4e1902f3a9ebcda3e2a8c839db30b0f3861..f0119176370e12bb836fd5958e1fc0184f7fb396 100644 (file)
@@ -129,7 +129,11 @@ private:
   
   void Resize();
 
   
   void Resize();
 
+#ifdef __BLUEGENE__
+  enum { initial_sz = 1 };
+#else
   enum { initial_sz = 10000 };
   enum { initial_sz = 10000 };
+#endif
   enum TableState { nil, InUse } ;
   LBCommData* set;
   TableState* state;
   enum TableState { nil, InUse } ;
   LBCommData* set;
   TableState* state;