User Tools

Site Tools


realtime:documentation:howto:tools:rteval

This is an old revision of the document!


RTEval

Rteval is a python program written to evaluate the performance of a realtime Linux kernel on a particular hardware platform. The program unpacks source code for two loads: hackbench and a Linux kernel compile, then loops running hackbench and a parallel build of the Linux kernel. While the loads are running, the cyclictest program is run to measure realtime performance under load. When the specified run duration is met, the loads are stopped and cyclictest outputs measured timer latency values in histogram format, which is analyzed by rteval. Rteval then writes an XML file to disk with information about the system (gotten through DMI tables), the raw histogram data collected during the run and the statistical analysis of the run.

More information about rteval: https://git.kernel.org/cgit/linux/kernel/git/clrkwllms/rteval.git/tree/doc/rteval.txt

Installation

rteval has the following dependencies:

  • Python >= 2.4 (and < 3.0)
  • python-schedutils
  • python-ethtools
  • libxslt-python
  • python-dmidecode
  • rt-tests

Most of the above dependencies should be available in package management systems for most operating systems. The exception is rt-tests which the user will be required to download manually and compile.

Following are quick instructions to install and run once all the dependencies have been installed:

$> git clone git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rteval.git
$> cd rteval/loadsource
# 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
# in ./rteval/kcompile.py before installation.
$> wget https://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.39.tar.bz2
$> cd ../
$> sudo make install
$> sudo make runit

More information at: https://git.kernel.org/cgit/linux/kernel/git/clrkwllms/rteval.git/tree/README

realtime/documentation/howto/tools/rteval.1486563589.txt.gz · Last modified: 2017/02/08 14:19 by anna-maria