LTP(Realtime Test Tree)

From RTwiki
(Difference between revisions)
Jump to: navigation, search
(Running)
Line 25: Line 25:
  
 
== Running ==
 
== Running ==
#> ./runalltests.sh -p -q -l result-geunsik-all.log
+
cd ./testcases/realtime
  
#> ./runltp -i 1024 -m 128 -p -q -l /tmp/resultlog.377 -d /usr/ltp
+
make
  
  #> ./runltplite.sh -i 1024 -m 128 -p -q 1l /tmp/resultlog.383 -d /usr/ltp
+
./run.sh
 +
 
 +
./run.sh  -t list
 +
 
 +
Available tests are:
 +
 
 +
  ./func/sched_football
 +
./func/matrix_mult
 +
./func/prio-preempt
 +
./func/async_handler
 +
./func/sched_jitter
 +
./func/periodic_cpu_load
 +
./func/pthread_kill_latency
 +
./func/sched_latency
 +
./func/pi_perf
 +
./func/prio-wake
 +
./func/thread_clock
 +
./func/gtod_latency
 +
./func/pi-tests
 +
 
 +
 
 +
./run.sh -t func/prio-wake -l 20
 +
 
 +
pushd func/prio-wake
 +
 
 +
./run_auto.sh
 +
 
 +
ls ./logs/
 +
 
 +
popd
 +
 
 +
./run.sh -t func
 +
 
 +
./run.sh -t perf -l 3
 +
 
 +
ls ./logs/
  
 
== Report ==
 
== Report ==
  
 
  #> cat result/result-geunsik-all.log
 
  #> cat result/result-geunsik-all.log

Revision as of 14:17, 17 June 2009

Official Homepage of LTP Project is http://ltp.sourceforge.net. We can use RealtimeTest in entier directory of LTP Full source.

Contents

Tree info of Realtime Test Tree

Below link is realtime testcase of LTP related tree informations. ( I can not upload image file in this media wiki page. )

* http://photolog.blog.naver.com/common/util/imageZoom.jsp?url=http://blogfiles7.naver.net/data43/2009/4/1/22/realtimeltptreeinfo-invain.png

Quick Howto

Installation

lgs-f11#> wget http://downloads.sourceforge.net/ltp/ltp-full-20090531.tgz

lgs-f11#> tar xvzf ltp-full-20090331.tgz

lgs-f11#> cd ltp-full-20090531

lgs-f11#> vi ./Makefile (If your architecture is not X86 , edit CROSS_COMPILE and LIB_DIR line).

lgs-f11#> yum -y install libcap libcap-devel

lgs-f11#> make

lgs-f11#> make install

Running

cd ./testcases/realtime

make

./run.sh

./run.sh -t list

Available tests are:
./func/sched_football
./func/matrix_mult
./func/prio-preempt
./func/async_handler
./func/sched_jitter
./func/periodic_cpu_load
./func/pthread_kill_latency
./func/sched_latency
./func/pi_perf
./func/prio-wake
./func/thread_clock
./func/gtod_latency
./func/pi-tests


./run.sh -t func/prio-wake -l 20

pushd func/prio-wake

./run_auto.sh

ls ./logs/

popd

./run.sh -t func

./run.sh -t perf -l 3

ls ./logs/

Report

#> cat result/result-geunsik-all.log
Personal tools