Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Large-scale simulations need bigger mallocators
authorthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 2 Feb 2011 17:13:35 +0000 (17:13 +0000)
committerthiery <thiery@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 2 Feb 2011 17:13:35 +0000 (17:13 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9568 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/maxmin.c
src/xbt/fifo.c

index eb9de6d..d2bd685 100644 (file)
@@ -57,7 +57,7 @@ lmm_system_t lmm_system_new(void)
   xbt_swag_init(&(l->saturated_constraint_set),
                 xbt_swag_offset(cnst, saturated_constraint_set_hookup));
 
-  l->variable_mallocator = xbt_mallocator_new(64,
+  l->variable_mallocator = xbt_mallocator_new(65536,
                                               lmm_variable_mallocator_new_f,
                                               lmm_variable_mallocator_free_f,
                                               lmm_variable_mallocator_reset_f);
index de5e0b7..51eb9b7 100644 (file)
@@ -527,7 +527,7 @@ void xbt_fifo_preinit(void)
     xbt_mallocator_free(item_mallocator);
   }
 
-  item_mallocator = xbt_mallocator_new(256,
+  item_mallocator = xbt_mallocator_new(65536,
                                        fifo_item_mallocator_new_f,
                                        fifo_item_mallocator_free_f,
                                        fifo_item_mallocator_reset_f);