Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
change default value of tcp_gamma to use something more realistic than
authorsuter <frederic.suter@cc.in2p3.fr>
Mon, 26 Nov 2012 12:44:27 +0000 (13:44 +0100)
committersuter <frederic.suter@cc.in2p3.fr>
Mon, 26 Nov 2012 15:26:45 +0000 (16:26 +0100)
20K. Use 4MiB now

src/surf/surf_config.c

index 0b7da09..debb767 100644 (file)
@@ -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)",