From: thiery Date: Wed, 2 Feb 2011 17:13:35 +0000 (+0000) Subject: Large-scale simulations need bigger mallocators X-Git-Tag: v3.6_beta2~361 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/af2164d627a93c6a6e287e45959efb83658f37c5?hp=e99350b90a8c0e400db2f43e3093b70afdbd2aac Large-scale simulations need bigger mallocators git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9568 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/surf/maxmin.c b/src/surf/maxmin.c index eb9de6d04a..d2bd685ba8 100644 --- a/src/surf/maxmin.c +++ b/src/surf/maxmin.c @@ -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); diff --git a/src/xbt/fifo.c b/src/xbt/fifo.c index de5e0b7433..51eb9b7184 100644 --- a/src/xbt/fifo.c +++ b/src/xbt/fifo.c @@ -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);