This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
realtime:documentation:howto:tools:rteval [2020/11/04 08:51] jschwe [Installation] Add dependencies for Python3 |
realtime:documentation:howto:tools:rteval [2024/02/28 08:14] (current) tglozar [Installation] Update loadsource kernel version to 6.6.1 |
||
---|---|---|---|
Line 7: | Line 7: | ||
====== Installation ====== | ====== Installation ====== | ||
- | rteval can run using Python2 with the following dependencies: | + | rteval requires Python3 with the following dependencies: |
- | * Python >= 2.4 (and < 3.0) | ||
- | * python-schedutils | ||
- | * python-ethtools | ||
- | * libxslt-python | ||
- | * python-dmidecode | ||
- | * rt-tests | ||
- | |||
- | rteval also supports Python3 with the following dependencies: | ||
- | |||
- | * Python3 | ||
- | * python3-dev | ||
* python3-distutils | * python3-distutils | ||
- | * python3-libxml2 | ||
* python3-dmidecode | * python3-dmidecode | ||
* python3-lxml | * python3-lxml | ||
* python3-ethtool | * python3-ethtool | ||
- | * bzip2 | + | * python3-requests |
- | * sysstat | + | * gcc 5.1 or higher, flex, bison, tar, xz (for kcompile load) |
- | * libxml2-dev | + | |
- | * libnl-route-3-dev | + | Most of the above Python3 dependencies should be available in package management systems for most operating systems. |
- | * libnuma-dev | + | |
- | * build-essential | + | |
- | Most of the above Python2 dependencies should be available in package management systems for most operating systems. If you are using Python3, some of the dependencies are only available in the package management systems for recent OS versions (e.g. Ubuntu >=20.04, Debian >=buster). | + | The user must manually [[https://git.kernel.org/cgit/utils/rt-tests/rt-tests.git/|download]] and compile rt-tests. Compiling rt-tests additionally requires glibc and libnuma headers. |
- | In any case the user must manually [[https://git.kernel.org/cgit/utils/rt-tests/rt-tests.git/|download]] and compile rt-tests. | + | |
Following are quick instructions to install and run once all the dependencies have been installed: | Following are quick instructions to install and run once all the dependencies have been installed: | ||
<code bash> | <code bash> | ||
- | $> git clone git://git.kernel.org/pub/scm/utils/rteval/rteval.git/tree/doc/rteval.txt | + | $> git clone https://git.kernel.org/pub/scm/utils/rteval/rteval.git |
$> cd rteval | $> cd rteval | ||
# The following kernel will be used by the kcompile workload. A different kernel version can also | # The following kernel will be used by the kcompile workload. A different kernel version can also | ||
# used here. But, corresponding changes will have to be made in KLOAD in Makefile and kernel_prefix | # used here. But, corresponding changes will have to be made in KLOAD in Makefile and kernel_prefix | ||
# in ./rteval/kcompile.py before installation. | # in ./rteval/kcompile.py before installation. | ||
- | $> wget -P loadsource https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.7.tar.xz | + | $> wget -P loadsource https://www.kernel.org/pub/linux/kernel/v6.x/linux-6.6.1.tar.xz |
$> sudo make install | $> sudo make install | ||
$> sudo make runit | $> sudo make runit |