Menu

ELRepo kernel

The ELRepo project provides a version of the most recent 'stable' Linux kernel in rpm form that is easy to install on RHEL/CentOS based hosts.

In particular, this kernel includes FQ-based pacing, and BBR TCP for CentOS 6 and 7. BBR TCP is included starting with CentOS 8. 

To install the latest stable kernel on a CentOS host, do the following:

 # install repo key
rpm --import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org
 # for CentOS 8
yum install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
 # for CentOS 7 
yum install https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm

# then to install kernel
yum -y --enablerepo=elrepo-kernel install kernel-ml

If you need to build device drivers, also install this one:

yum -y --enablerepo=elrepo-kernel install kernel-ml-devel

Then configure Grub to use the new kernel:

 

For CentOS 7

grub2-set-default 0
grub2-install /dev/sda grub2-mkconfig -o /boot/grub2/grub.cfg

Then reboot.

To enable FQ, add this to /etc/sysctl.conf:

     net.core.default_qdisc = fq

To enable BBR TCP, do:

     /sbin/modprobe tcp_bbr