Skip to Content.
Sympa Menu

ndt-users - Re: Installing NDT pr pS-Performance Kits on various linux flavors

Subject: ndt-users list created

List archive

Re: Installing NDT pr pS-Performance Kits on various linux flavors


Chronological Thread 
  • From: Chris Hawkinson <>
  • To: "Casarez, Rick" <>
  • Cc:
  • Subject: Re: Installing NDT pr pS-Performance Kits on various linux flavors
  • Date: Wed, 09 Jun 2010 08:24:15 -0700

Hi Rick,

The last kernel I patched was 2.6.28.8, but, I'm now in the process of rebuilding a couple of machines and place to install the ps-Performance Toolkit ISO directly (I'll post my How-To for that install in a few minutes too).

Here's what I did to patch 2.6.28.8...

FIRST - INSTALL CENTOS 5.3 on the machine...

NEXT ... follow these steps ...

1) Download and untar the v2.5.23 Web100 patch from http://www.web100.org/download/ to your home directory with the commands ...
cd ~
wget http://www.web100.org/download/kernel/2.5.23/web100-2.5.23-200901150002.tar.gz
tar -xzvf web100-2.5.23-200901150002.tar.gz

2) Download and untar the 2.6.28.8 kernel from http://www.kernel.org with the commands ...
cd ~
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.8.tar.bz2
tar -xjvf linux-2.6.28.8.tar.bz2

3) Patch with the commands ...
cd linux-2.6.28.8
sed -e 's/EXTRAVERSION\ \=\ */EXTRAVERSION\ \=\ \.8/' < ../web100/web100-2.6.28-2.5.23-200901150002.patch > web100.patch
patch -p1 < web100.patch

4) Configure the kernel with the commands ...
cd ~/linux-2.6.28.8
cp /boot/config-`uname -r` .config
cp .config config.old
make oldconfig
*** Accept defaults for new options as you are asked for them, EXCEPT for the Web100 options. Set the Web100 options to be ...
IP: Web100 networking enhancements (WEB100) [N/y] (NEW) – Set to Y
Web100: Extended TCP statistics (WEB100_STATS) [N/y/?] (NEW)
– Set to Y
Web100: Default file permissions (WEB100_FPERMS) [384] (NEW) – Accept default
Web100: Default gid (WEB100_GID) [0] (NEW) – Accept default
Web100: Net100 extensions (WEB100_NET100) [N/y/?] (NEW) –
Set to Y
Web100: Netlink event notification service (WEB100_NETLINK) [N/y/?] (NEW) – Set to Y


5) Finish configuring the kernel by running 'make menuconfig' then ...
Go to “Networking Support” --> “Networking Options” ---> “Network Packet Filtering Framework (Netfilter)” --->
Disable “Advanced Netfilter Configuration”
Go to “Core Netfilter Configuration”
Make all options “M”, except “Connection tracking security mark support” which should be disabled.
Save the configuration.
6) Build and Install the Web100 kernel with the following commands ...
make
make bzImage
make modules_install
make install

6) Make the Web100 kernel the default boot by doing the following ...
vi /boot/grub/grub.conf
*** Change “default=1” to “default=0” ... this should be line #10 in the file.

7) Reboot!!! Use 'uname -a' to make sure that the '2.6.18.8-web100' kernel has been loaded.

8) Check that the web100 extensions are working with the command 'ls /proc/web100/'. You should see output similar to ...

0 10 12 14 16 18 2 21 23 4 6 8 header
1 11 13 15 17 19 20 22 3 5 7 9

... At a minimum, you should see 'header', but, if not, reboot and try again. If you still don't, then repatch and rebuild your kernel.

If you 'cat /proc/web100/header' you will see a long list of TCP stats dumped to the terminal.


Thanks,
Chris


On 6/9/10 7:48 AM, Casarez, Rick wrote:
> Hello,
>
> I figured I would ask the list if anyone has compiled a Linux kernel
> with the web100 patch and loaded any of the kits. If so I am curious
> which type/version of Linux you used. Thanks.
>
> Cheers,
>
> Rick Casarez
>
> Sr. IP Network Engineer
>
> 571.262.8709
>


On 6/9/10 7:48 AM, Casarez, Rick wrote:
Hello,

I figured I would ask the list if anyone has compiled a Linux kernel
with the web100 patch and loaded any of the kits. If so I am curious
which type/version of Linux you used. Thanks.

Cheers,

Rick Casarez

Sr. IP Network Engineer

571.262.8709




Archive powered by MHonArc 2.6.16.

Top of Page