LINUX KERNEL LATENCY TEST

Takashi Iwai <tiwai@suse.de>


INSTALLATION
------------

1. build the latency-test module

   cd kernel
   make -f Makefile.module
   make -f Makefile.module install

2. make binaries

   cd src
   On non-i386 machines edit Makefile to uncomment one of the CFLAG
	settings.
   make
   make install

3. optionally, install the whole tree to the public place.
   assume $root is the root directory of this suite package
   in the following.


MEASUREMENT
-----------

0. Load the latency-test module
   (Note this module will use the device 35,0, usually mapped to
    /dev/midi0.
    This is used by tclmidi but it's rarely used nowadays...)
   You can specify major module option for other device number.

1. create a directory

   mkdir test1

2. copy the config file from $root/tests directory

   cd test1
   cp $root/tests/latency.config .

3. edit the config file

4. run test (as root user)

   $root/bin/run_tests

   run_ptests is the parallel version.  It doesn't include
   file creation/deletion and fork tests yet.

OUTPUT FILES
------------

*.png - the latency plot for each test
*.out - the stack information for each test
*.log - output log


PROFILING
---------

run $root/bin/showtrace program to dispaly the stack information
at overruns.  pass .out file to analyze.

    $root/bin/showtrace diskwrite.out

