Author: Armin Rigo <[email protected]>
Branch: card-marking
Changeset: r1271:f90f884585dd
Date: 2014-07-01 12:06 +0200
http://bitbucket.org/pypy/stmgc/changeset/f90f884585dd/

Log:    Increase the usable memory to 24GB (from 1.5GB). I'd like to
        increase it more but I'm getting again clang linking errors...

diff --git a/c7/demo/demo2.c b/c7/demo/demo2.c
--- a/c7/demo/demo2.c
+++ b/c7/demo/demo2.c
@@ -303,7 +303,7 @@
 
 
     unregister_thread_local();
-    stm_teardown();
+    //stm_teardown();
 
     return 0;
 }
diff --git a/c7/stm/core.h b/c7/stm/core.h
--- a/c7/stm/core.h
+++ b/c7/stm/core.h
@@ -14,7 +14,7 @@
 #endif
 
 
-#define NB_PAGES            (1500*256)    // 1500MB
+#define NB_PAGES            (24000*256)    // 24GB
 #define NB_SEGMENTS         STM_NB_SEGMENTS
 #define NB_SEGMENTS_MAX     240    /* don't increase NB_SEGMENTS past this */
 #define MAP_PAGES_FLAGS     (MAP_SHARED | MAP_ANONYMOUS | MAP_NORESERVE)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to