--help-models for the list of all models and optimization modes.
* The CLM03 workstation model were dropped for simplicity because it
used the deprecated CM02 network model. Use default instead.
+ * Rename the TCP_gamma configuration option to network/TCP_gamma
* Use now crosstraffic keyword instead of the terribly missleading
fullduplex keyword. Use --cfg=network/crosstraffic:1. This is
activated by default now in the current default model.
useful when debugging.
-\subsection options_simgrid_configuration_fullduplex Simulating cross-traffic
+\subsection options_model_network Configuring the Network model
+
+\subsubsection options_model_network_gamma Maximal TCP window size (network/TCP_gamma)
+
+The analytical models need to know the maximal TCP window size to take
+the TCP congestion mechanism into account. This is set to 20000 by
+default, but can be changed using the network/TCP_gamma variable.
+
+On linux, this value can be retrieved using the following
+commands. Both give a set of values, and you should use the last one,
+which is the maximal size.\verbatim
+cat /proc/sys/net/ipv4/tcp_rmem # gives the sender window
+cat /proc/sys/net/ipv4/tcp_wmem # gives the receiver window
+\endverbatim
+
+\subsubsection options_model_network_crosstraffic Simulating cross-traffic (network/crosstraffic)
As of SimGrid v3.7, cross-traffic effects can be taken into account in
analytical simulations. It means that ongoing and incoming
"Model to use to store the routing information",
xbt_cfgelm_string, &default_value, 1, 1, NULL, NULL);
- xbt_cfg_register(&_surf_cfg_set, "TCP_gamma",
+ xbt_cfg_register(&_surf_cfg_set, "network/TCP_gamma",
"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, "TCP_gamma", 20000.0);
+ xbt_cfg_setdefault_double(_surf_cfg_set, "network/TCP_gamma", 20000.0);
xbt_cfg_register(&_surf_cfg_set, "maxmin/precision",
- "Minimum retained action value when updating simulation",
+ "Minimum retained action value when updating simulation (similar to numerical precision)",
xbt_cfgelm_double, NULL, 1, 1, _surf_cfg_cb__maxmin_precision, NULL);
xbt_cfg_setdefault_double(_surf_cfg_set, "maxmin/precision", 0.00001); // FIXME use setdefault everywhere here!