How to install lkp on RHEL/CentOS/Fedora

git clone https://github.com/01org/lkp-tests.git

cd lkp-tests && make install && cd ~

1
2
3
4
5
6
7
8
on RHEL:
# mv /etc/redhat-release /etc/centos-release
# rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# yum makecache fast
# yum install kernel-debuginfo

on Fedora:
# dnf install kernel-debug

mkdir -p /lkp/benchmarks ## BENCHMARK_ROOT=/lkp/benchmarks, but lkp didn’t init it, bug?

  1. run hackbench

mkdir -p /lkp/benchmarks/turbostat

lkp install lkp-tests/jobs/hackbench.yaml

lkp split-job lkp-tests/jobs/hackbench.yaml

lkp run ./hackbench-50%-threads-socket.yaml

lkp result hackbench

  1. run apachebench on RHEL/CentOS

mkdir /lkp/benchmarks/turbostat

yum install httpd

echo “systemctl restart httpd.service” > ~/lkp-tests/daemon/httpd

tips: in lkp-tests/tests/apachebench we need a2enmod cmd, but RHEL/CentOS not support this