X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/39eaafd39429445bac3fb906bfde2714fc1dc848..14608bd75984c1dc3e279f67ccce7a3accb7650a:/src/surf/surf_config.c diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index 0b7da099cc..df521200d5 100644 --- a/src/surf/surf_config.c +++ b/src/surf/surf_config.c @@ -444,7 +444,7 @@ void surf_config_init(int *argc, char **argv) "Size of the biggest TCP window (cat /proc/sys/net/ipv4/tcp_[rw]mem for recv/send window; Use the last given value, which is the max window size)", xbt_cfgelm_double, NULL, 1, 1, _surf_cfg_cb__tcp_gamma, NULL); - xbt_cfg_setdefault_double(_surf_cfg_set, "network/TCP_gamma", 20000.0); + xbt_cfg_setdefault_double(_surf_cfg_set, "network/TCP_gamma", 4194304.0); xbt_cfg_register(&_surf_cfg_set, "maxmin/precision", "Numerical precision used when updating simulation models (epsilon in double comparisons)", @@ -690,6 +690,8 @@ void surf_config_init(int *argc, char **argv) surf_config_cmd_line(argc, argv); + xbt_mallocator_initialization_is_done(); + } else { XBT_WARN("Call to surf_config_init() after initialization ignored"); }