�
[ General info | Step1 | Step2 | Step3 ]
|
Installing
TCP-LP Linux kernel
|
There are 3 steps in
installing TCP-LP in Linux. First, you have to install Linux-2.4.19 kernel.
Second, you have to install Web 100 kernel by applying appropriate patch. Web 100
kernel is used for monitoring and also applies RFC 1323 window scaling option
that enables TCP-LP to fully utilize the excess network bandwidth on an
end-to-end path. A detailed information about the Web
100 project could be found here. Finally, you have to add TCP-LP
kernel. Detailed instructions on how to do the three steps are given below.
Top
Step 1: Installing Linux-2.4.19 kernel
|
The complete installation
information could be found here. A shorter version is given below.
- Download linux-2.4.19.tar.gz
- #cd /usr/src
- #gunzip
linux-2.4.19.tar.gz
- #tar -xvf
linux-2.4.19.tar
- #cd linux-2.4.19
You should
next configure your kernel setup depending on your hardware. Should you have
any problems with this step, you may try using our configuration file (good_config) that supports minimum hardware options. However, there are
no guarantees that it will work on your machine.
- #cp good_config config.save
- #make mrproper
- #cp config.save .config
- To load the configuration file, do
#make menuconfig and go to the end of the menu and use the option Load an Alternative
Configuration File and
then pick the appropriate file (.config) and
finally save the configuration when exiting the menu.
- #make dep
- #make clean
- #make bzImage
- #make modules
- #make modules_install
- #make install
- #cd /etc
- (grub.conf users) If you are
using grub.conf file, then open grub.conf file and edit the line default=1 to default=0. In this way, after booting the
machine, the default kernel version should be the 2.4.19 version. Also,
check that your grub.conf have the following
lines:
title Red Hat Linux (2.4.19)
root (hd0,0)
kernel /vmlinuz-2.4.19 ro root=/dev/hda2
initrd /initrd-2.4.19.img
- (lilo.conf users) If you are
using lilo.conf, open lilo.conf
file and edit by changing the default=linux line into default=linux-2.4.19. Next, add
image=/boot/vmlinuz-2.4.19
label=linux-2.4.19
root=/dev/hda2
- Reboot the machine: #shutdown -r now
Top
Step 2: Installing Web
100 kernel
|
The complete Web 100 kernel
installation information could be found here, and the right patch version is alpha 2.1 that could be found here. A shorter installation guide is given below.
- Download web100-2.1-alpha-200210291117.tar.gz
- #cd
/usr/src/linux-2.4.19
- #gunzip
web100-2.1-alpha-200210291117.tgz
- #tar -xvf
web100-2.1-alpha-20021029111t.tar
- #cp ./web100/web100-2.4.19-2.1-alpha-200210291117.patch .
- #patch -p3 <
web100-2.4.19-2.1-alpha-200210291117.patch
- #cp .config config.save
- #make mrproper
- #cp config.save .config
- #make menuconfig
- To enable web100 features select the following options:
Code
maturity level options --->
[*] Prompt
for development and/or incomplete code/drivers
Processor type
and features --->
[*] Symmetric multi-processing support (Select for SMPs
only)
Networking options --->
[*] Web100 networking enhancements (NEW)
[*] Web100: TCP statistics (NEW)
[*] Web100: Net100 extensions (NEW)
[*] Web100: netlink event notification service
(NEW)
(7) Web100: default winscale initial value (NEW)
- #make dep
- #make clean
- #make bzImage
- #make modules
- #make modules_install
- #make install
- #cd /etc
- (grub.conf users) If you are
using grub.conf file, then open grub.conf file and edit the line default=1 to default=0. In this way, after booting the
machine, the default kernel version should be the 2.4.19-web100 version.
Also, check that your grub.conf have the
following lines:
title Red Hat Linux (2.4.19-web100)
root (hd0,0)
kernel /vmlinuz-2.4.19-web100 ro root=/dev/hda2
initrd /initrd-2.4.19-web100.img
- (lilo.conf users) If you are
using lilo.conf, open lilo.conf
file and edit by changing the default=linux-2.4.19 line into default=linux-2.4.19-web100. Next, add
image=/boot/vmlinuz-2.4.19-web100
label=linux-2.4.19-web100
root=/dev/hda2
- Reboot the machine: #shutdown -r now
The Linux-2.4.19-web100 is
installed on your machine.
Optionally, you may install a
shared library with a set of utilities (the userland
- version 1.3), which allows the easy reading and manipulation of Web 100
instruments. Detailed userland installation
instructions could be found here.
Top
Step3: Installing TCP-LP kernel
|
All TCP-LP source files
could be downloaded here. The TCP-LP installation guide is given below.
- #cd
/usr/src/linux-2.4.19
- Edit Makefile and change line
EXTRAVERSION = -web100 into
EXTRAVERSION = -web100-TCP-LP
- #cp sock.h
/usr/src/linux-2.4.19/include/net/.
- #cp tcp_ecn.h /usr/src/linux-2.4.19/include/net/.
- #cp tcp.h
/usr/src/linux-2.4.19/include/net/.
- #cp tcp_ipv4.c
/usr/src/linux-2.4.19/net/ipv4/.
- #cp tcp_input.c
/usr/src/linux-2.4.19/net/ipv4/.
- #cp tcp_output.c
/usr/src/linux-2.4.19/net/ipv4/.
- #make dep
- #make clean
- #make bzImage
- #make modules
- #make modules_install
- #make install
- #cd /etc
- (grub.conf users) If you are
using grub.conf file, then open grub.conf file and edit the line default=1 to default=0. In this way, after booting the
machine, the default kernel version should be the 2.4.19-web100-TCP-LP
version. Also, check that your grub.conf have
the following lines:
title Red Hat Linux (2.4.19-web100-TCP-LP)
root (hd0,0)
kernel /vmlinuz-2.4.19-web100-TCP-LP ro
root=/dev/hda2
initrd /initrd-2.4.19-web100-TCP-LP.img
- (lilo.conf users) If you are
using lilo.conf, open lilo.conf
file and edit by changing the default=linux-2.4.19-web100 line into default=linux-2.4.19-web100-TCP-LP. Next, add
image=/boot/vmlinuz-2.4.19-web100-TCP-LP
label=linux-2.4.19-web100-TCP-LP
root=/dev/hda2
- Reboot the machine: #shutdown -r now
The
Linux-2.4.19-web100-TCP-LP is installed on your machine.
Top
December, 2004, Aleksandar Kuzmanovic