Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
a bit more info on how to guess the right gamma value on linux boxes
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 12 Mar 2010 17:09:20 +0000 (17:09 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 12 Mar 2010 17:09:20 +0000 (17:09 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7236 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/surf/surf_config.c

index 7a46acd..49b3b2a 100644 (file)
@@ -185,7 +185,7 @@ void surf_config_init(int *argc, char **argv)
                      NULL);
 
     xbt_cfg_register(&_surf_cfg_set, "TCP_gamma",
                      NULL);
 
     xbt_cfg_register(&_surf_cfg_set, "TCP_gamma",
-                     "Size of the biggest TCP window", xbt_cfgelm_double,
+                     "Size of the biggest TCP window (cat /proc/sys/net/ipv4/tcp_[rw]mem for recv/send window; middle value=default value => you probably want default send value)", xbt_cfgelm_double,
                      NULL, 1, 1, _surf_cfg_cb__tcp_gamma, NULL);
     xbt_cfg_set_double(_surf_cfg_set, "TCP_gamma", 20000.0);
 
                      NULL, 1, 1, _surf_cfg_cb__tcp_gamma, NULL);
     xbt_cfg_set_double(_surf_cfg_set, "TCP_gamma", 20000.0);