LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Adding TCP Illinois to the kernel (https://www.linuxquestions.org/questions/linux-networking-3/adding-tcp-illinois-to-the-kernel-4175445744/)

sholex 01-15-2013 03:48 PM

Adding TCP Illinois to the kernel
 
Hi,

I am exploring TCP Congestion Control algorithms and I want to add TCP Illinois to my kernel so I can test it.

Any idea how? I have never compiled kernel or added custom module. I use Ubuntu 12.04 with kernel 3.x.x.

Here is the source for TCP Illinois and others,

www.cs.fsu.edu/~baker/devices/lxr/http/source/linux/net/ipv4

Thanks

acid_kewpie 01-15-2013 04:01 PM

I think it's already in the default 12.04 kernel, given the CVE against it that required patching last week - https://launchpad.net/ubuntu/precise...linux-armadaxp, and you'd enable it by setting "net.ipv4.tcp_congestion_control=illinois" in /etc/sysctl.conf

sholex 01-15-2013 04:06 PM

net.ipv4.tcp_available_congestion_control = reno bic veno vegas highspeed westwood cubic

This is what I get.

acid_kewpie 01-15-2013 04:23 PM

can you modprobe tcp_illinois?

sholex 01-15-2013 04:36 PM

Surprisingly, yes.

I can even do echo "illinois" > /proc/sys/net/ipv4/tcp_congestion_control and set illinois as default. Why it isn't in the list of available algorithms ? I assumed it isn't there, because it is not in the list...

sholex 01-15-2013 04:55 PM

Thank you very much, I am new to linux kernel. It is now in the list of available algorithms, modprobe solved my problem.

But now I am just curious, how can I tell if some module is available and I can add it with modprobe ?

acid_kewpie 01-15-2013 04:56 PM

personally I just ran "locate illinois" and the modules fell out for me to see. You can see all the modules under /lib/modules/


All times are GMT -5. The time now is 12:57 PM.