From: suter Date: Mon, 26 Nov 2012 12:44:27 +0000 (+0100) Subject: change default value of tcp_gamma to use something more realistic than X-Git-Tag: v3_9_rc1~91^2~18 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3c6fc0c6d0d704281f05b79bedcd9bd61a8c868c change default value of tcp_gamma to use something more realistic than 20K. Use 4MiB now --- diff --git a/src/surf/surf_config.c b/src/surf/surf_config.c index 0b7da099cc..debb767609 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)",