On Mon, 8 Mar 2004, Daniele Lacamera wrote: > > 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=...] FYI, for experimentation purposes, you might want to check out the Web100 patch and tools. It has a few experimental congestion control algorithms already implemented, and machinery to switch these per connection. You can run competing flows of different types from the same machine. It also has a rich set of per-connection instruments. -John - : 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