Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet/cc/cc_cdg.c
Show All 12 Lines | |||||
"Current algorithm/implementation version number"); | "Current algorithm/implementation version number"); | ||||
SYSCTL_UINT(_net_inet_tcp_cc_cdg, OID_AUTO, alpha_inc, | SYSCTL_UINT(_net_inet_tcp_cc_cdg, OID_AUTO, alpha_inc, | ||||
CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(cdg_alpha_inc), 0, | CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(cdg_alpha_inc), 0, | ||||
"Increment the window increase factor alpha by 1 MSS segment every " | "Increment the window increase factor alpha by 1 MSS segment every " | ||||
"alpha_inc RTTs during congestion avoidance mode."); | "alpha_inc RTTs during congestion avoidance mode."); | ||||
SYSCTL_PROC(_net_inet_tcp_cc_cdg, OID_AUTO, beta_delay, | SYSCTL_PROC(_net_inet_tcp_cc_cdg, OID_AUTO, beta_delay, | ||||
CTLFLAG_VNET | CTLTYPE_UINT | CTLFLAG_RW, &VNET_NAME(cdg_beta_delay), 70, | CTLFLAG_VNET | CTLTYPE_UINT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, | ||||
&cdg_beta_handler, "IU", | &VNET_NAME(cdg_beta_delay), 70, &cdg_beta_handler, "IU", | ||||
"Delay-based window decrease factor as a percentage " | "Delay-based window decrease factor as a percentage " | ||||
"(on delay-based backoff, w = w * beta_delay / 100)"); | "(on delay-based backoff, w = w * beta_delay / 100)"); | ||||
SYSCTL_PROC(_net_inet_tcp_cc_cdg, OID_AUTO, beta_loss, | SYSCTL_PROC(_net_inet_tcp_cc_cdg, OID_AUTO, beta_loss, | ||||
CTLFLAG_VNET | CTLTYPE_UINT | CTLFLAG_RW, &VNET_NAME(cdg_beta_loss), 50, | CTLFLAG_VNET | CTLTYPE_UINT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, | ||||
&cdg_beta_handler, "IU", | &VNET_NAME(cdg_beta_loss), 50, &cdg_beta_handler, "IU", | ||||
"Loss-based window decrease factor as a percentage " | "Loss-based window decrease factor as a percentage " | ||||
"(on loss-based backoff, w = w * beta_loss / 100)"); | "(on loss-based backoff, w = w * beta_loss / 100)"); | ||||
SYSCTL_PROC(_net_inet_tcp_cc_cdg, OID_AUTO, exp_backoff_scale, | SYSCTL_PROC(_net_inet_tcp_cc_cdg, OID_AUTO, exp_backoff_scale, | ||||
CTLFLAG_VNET | CTLTYPE_UINT | CTLFLAG_RW, | CTLFLAG_VNET | CTLTYPE_UINT | CTLFLAG_RW | CTLFLAG_NEEDGIANT, | ||||
&VNET_NAME(cdg_exp_backoff_scale), 2, &cdg_exp_backoff_scale_handler, "IU", | &VNET_NAME(cdg_exp_backoff_scale), 2, &cdg_exp_backoff_scale_handler, "IU", | ||||
"Scaling parameter for the probabilistic exponential backoff"); | "Scaling parameter for the probabilistic exponential backoff"); | ||||
SYSCTL_UINT(_net_inet_tcp_cc_cdg, OID_AUTO, smoothing_factor, | SYSCTL_UINT(_net_inet_tcp_cc_cdg, OID_AUTO, smoothing_factor, | ||||
CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(cdg_smoothing_factor), 8, | CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(cdg_smoothing_factor), 8, | ||||
"Number of samples used for moving average smoothing (0 = no smoothing)"); | "Number of samples used for moving average smoothing (0 = no smoothing)"); | ||||
SYSCTL_UINT(_net_inet_tcp_cc_cdg, OID_AUTO, loss_compete_consec_cong, | SYSCTL_UINT(_net_inet_tcp_cc_cdg, OID_AUTO, loss_compete_consec_cong, | ||||
Show All 12 Lines |