LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-15-2013, 03:48 PM   #1
sholex
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Rep: Reputation: Disabled
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
 
Old 01-15-2013, 04:01 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
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
 
Old 01-15-2013, 04:06 PM   #3
sholex
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
net.ipv4.tcp_available_congestion_control = reno bic veno vegas highspeed westwood cubic

This is what I get.
 
Old 01-15-2013, 04:23 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
can you modprobe tcp_illinois?
 
Old 01-15-2013, 04:36 PM   #5
sholex
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
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...
 
Old 01-15-2013, 04:55 PM   #6
sholex
LQ Newbie
 
Registered: Jan 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
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 ?
 
Old 01-15-2013, 04:56 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding IP to tcp.smtp to bypass SPF? sentinelace Linux - Server 0 05-17-2011 10:19 AM
Hello from Illinois, USA Myndzeye LinuxQuestions.org Member Intro 1 05-13-2011 08:04 AM
Adding custom info to TCP Header Options by changing Kernel Source code abhishek@LQ Linux - Networking 0 08-26-2010 11:29 PM
Linux change TCP kernel Parameter for TCP DELAY ACK TICKS linux_mando Linux - Networking 5 08-22-2006 08:20 AM
lagrange illinois wounded625 Linux User Groups (LUG) 1 03-14-2006 04:35 PM


All times are GMT -5. The time now is 02:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration