SH> Dave seemed to be against doing everything with CONFIG options. The SH> original Westwood patch was that way, and he wanted it changed. SH> Personally, don't care, which way it ends up.
I like this sysctl politic. I find useful to switch between NewReno, Vegas and other congestion control algorithms at runtime, enable Westwood or tune Vegas without having to reboot. Expecially when testing them.
SH> + NET_TCP_VEGAS=97, SH> + .ctl_name = NET_TCP_VEGAS, SH> + .procname = "tcp_vegas_cong_avoid",
What if someone introduces a new congestion control algorithm implementation? How could you switch between them? As I am actually working on another experimental congestion control algo, my current kernel implements an integer parameter to switch between CCAs, something like
sysctl_tcp_cong_avoid_algo [0 = NewReno (default), 1 = Vegas, 2 = Hybla, 3=...]
Obviously this wouldn't affect Westwood and other enhancements which don't alter tcp_cong_avoid().
-- Daniele Lacamera - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html