From: David Miller <davem@davemloft.net>
To: brakmo@fb.com
Cc: netdev@vger.kernel.org, kernel-team@fb.com, ncardwell@google.com,
eric.dumazet@gmail.com, ycheng@google.com,
stephen@networkplumber.org, kennetkl@ifi.uio.no
Subject: Re: [PATCH net-next 2/2] tcp: add NV congestion control
Date: Mon, 06 Jun 2016 16:01:08 -0700 (PDT) [thread overview]
Message-ID: <20160606.160108.1481703166637051807.davem@davemloft.net> (raw)
In-Reply-To: <1464986278-2096156-3-git-send-email-brakmo@fb.com>
From: Lawrence Brakmo <brakmo@fb.com>
Date: Fri, 3 Jun 2016 13:37:58 -0700
> +module_param(nv_enable, int, 0644);
> +MODULE_PARM_DESC(nv_enable, "enable NV (congestion avoidance) behavior");
> +module_param(nv_pad, int, 0644);
> +MODULE_PARM_DESC(nv_pad, "extra packets above congestion level");
> +module_param(nv_pad_buffer, int, 0644);
> +MODULE_PARM_DESC(nv_pad_buffer, "no growth buffer zone");
> +module_param(nv_reset_period, int, 0644);
> +MODULE_PARM_DESC(nv_reset_period, "nv_min_rtt reset period (secs)");
> +module_param(nv_min_cwnd, int, 0644);
> +MODULE_PARM_DESC(nv_min_cwnd, "NV will not decrease cwnd below this value"
> + " without losses");
> +module_param(nv_dec_eval_min_calls, int, 0644);
> +MODULE_PARM_DESC(nv_dec_eval_min_calls, "Wait for this many data points"
> + " before declaring congestion");
> +module_param(nv_inc_eval_min_calls, int, 0644);
> +MODULE_PARM_DESC(nv_inc_eval_min_calls, "Wait for this many data points"
> + " before allowing cwnd growth");
> +module_param(nv_stop_rtt_cnt, int, 0644);
> +MODULE_PARM_DESC(nv_stop_rtt_cnt, "Wait for this many RTTs before stopping"
> + " cwnd growth");
> +module_param(nv_ssthresh_eval_min_calls, int, 0644);
> +MODULE_PARM_DESC(nv_ssthresh_eval_min_calls, "Wait for this many data points"
> + " before declaring congestion during initial slow-start");
> +module_param(nv_rtt_min_cnt, int, 0644);
> +MODULE_PARM_DESC(nv_rtt_min_cnt, "Wait for this many RTTs before declaring"
> + " congestion");
> +module_param(nv_cong_dec_mult, int, 0644);
> +MODULE_PARM_DESC(nv_cong_dec_mult, "Congestion decrease factor");
> +module_param(nv_ssthresh_factor, int, 0644);
> +MODULE_PARM_DESC(nv_ssthresh_factor, "ssthresh factor");
> +module_param(nv_rtt_factor, int, 0644);
> +MODULE_PARM_DESC(nv_rtt_factor, "rtt averaging factor");
> +module_param(nv_rtt_cnt_dec_delta, int, 0644);
> +MODULE_PARM_DESC(nv_rtt_cnt_dec_delta, "decrease cwnd for this many RTTs"
> + " every 100 RTTs");
> +module_param(nv_dec_factor, int, 0644);
> +MODULE_PARM_DESC(nv_dec_factor, "decrease cwnd every ~192 RTTS by factor/8");
> +module_param(nv_loss_dec_factor, int, 0644);
> +MODULE_PARM_DESC(nv_loss_dec_factor, "on loss new cwnd = cwnd * this / 1024");
> +module_param(nv_cwnd_growth_rate_neg, int, 0644);
> +MODULE_PARM_DESC(nv_cwnd_growth_rate_neg, "Applies when current cwnd growth"
> + " rate < Reno");
> +module_param(nv_cwnd_growth_rate_pos, int, 0644);
> +MODULE_PARM_DESC(nv_cwnd_growth_rate_pos, "Applies when current cwnd growth"
> + " rate >= Reno");
> +module_param(nv_min_min_rtt, int, 0644);
> +MODULE_PARM_DESC(nv_min_min_rtt, "lower bound for ca->nv_min_rtt");
> +module_param(nv_max_min_rtt, int, 0644);
> +MODULE_PARM_DESC(nv_max_min_rtt, "upper bound for ca->nv_min_rtt");
That's a disturbingly huge number of module parameters. Even the first
one "nv_enable" is superfluous, just hook up another congestion control
algorithm.
Please trim this down to something reasonable. The more of these you have,
the more of them people will start wanting to use and depend upon, and then
you're stuck with them whether you like it or not.
next prev parent reply other threads:[~2016-06-06 23:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-03 20:37 [PATCH net-next 0/2] tcp: add NV congestion control Lawrence Brakmo
2016-06-03 20:37 ` [PATCH net-next 1/2] tcp: add in_flight to tcp_skb_cb Lawrence Brakmo
2016-06-03 20:37 ` [PATCH net-next 2/2] tcp: add NV congestion control Lawrence Brakmo
2016-06-06 23:01 ` David Miller [this message]
2016-06-07 1:04 ` Lawrence Brakmo
2016-06-07 6:42 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2016-05-18 1:25 [PATCH net-next 0/2] " Lawrence Brakmo
2016-05-18 1:25 ` [PATCH net-next 2/2] " Lawrence Brakmo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160606.160108.1481703166637051807.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=brakmo@fb.com \
--cc=eric.dumazet@gmail.com \
--cc=kennetkl@ifi.uio.no \
--cc=kernel-team@fb.com \
--cc=ncardwell@google.com \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
--cc=ycheng@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).