Real-Time Tests of LTP(Linux Test Project)

From RTwiki
(Difference between revisions)
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
 
Official Homepage of LTP Project is http://ltp.sourceforge.net.  
 
Official Homepage of LTP Project is http://ltp.sourceforge.net.  
 
We can use RealtimeTest in entier directory of LTP Full source.  
 
We can use RealtimeTest in entier directory of LTP Full source.  
Below is realtime testcase related tree informations. 
 
  
 +
= Tree info of Realtime Test Tree =
 +
Below link is realtime testcase of LTP related tree informations. 
 +
( I can not uploae image file in this media wiki page. )
  
[[Image:realtimeltptreeinfo.png]]
+
* http://photolog.blog.naver.com/common/util/imageZoom.jsp?url=http://blogfiles7.naver.net/data43/2009/4/1/22/realtimeltptreeinfo-invain.png
  
For example:
+
= Quick Howto =
  # pi_stress <options>
+
== Installation ==
    options:
+
  #> wget http://downloads.sourceforge.net/ltp/ltp-full-20090331.tgz
        --verbose      - lots of output
+
#> tar xvzf ltp-full-20090331.tgz
        --groups=<n>   - set the number of inversion groups [10]
+
#> cd ltp=full-20090331
        --inversions=<n>- number of inversions per group [infinite]
+
#> vi ./Makefile (If your architecture is not X86 , edit CROSS_COMPILE and LIB_DIR line).
        --report=<path> - output to file [/dev/null]
+
#> make
        --rr            - use SCHED_RR for test threads [SCHED_FIFO]
+
  #> make install
        --prompt        - prompt before starting the test
+
        --signal        - Use Ctrl-C to stop test instea of key press
+
        --uniprocessor - force all threads to run on one processor
+
        --debug        - turn on debug prints
+
        --version      - print version number on output
+
        --help          - print this message
+
  
# ./ltp-full-20090228/testcases/realtime
+
== Running ==
 +
#> ./runalltests.sh -p -q -l result-geunsik-all.log
 +
#> ./runltp -i 1024 -m 128 -p -q -l /tmp/resultlog.377 -d /usr/ltp
 +
#> ./runltplite.sh -i 1024 -m 128 -p -q 1l /tmp/resultlog.383 -d /usr/ltp
  
|-- 00_Descriptions.txt
+
== Report ==
|-- COPYING (GPLV2)
+
#> cat result/result-geunsik-all.log
|-- Makefile
+
|-- README
+
|-- config.mk
+
|-- doc
+
|  |-- AUTOMATED_RUN
+
|  |-- HOWTO_ADD_TESTS
+
|  |-- TODO
+
|  `-- run_auto.sh.tpl
+
|-- func
+
|  |-- Makefile
+
|  |-- async_handler
+
|  |  |-- Makefile
+
|  |  |-- async_handler.c
+
|  |  |-- async_handler_jk.c
+
|  |  |-- async_handler_tsc.c
+
|  |  `-- run_auto.sh
+
|  |-- gtod_latency
+
|  |  |-- Makefile
+
|  |  |-- gtod_infinite.c
+
|  |  |-- gtod_latency.c
+
|  |  `-- run_auto.sh
+
|  |-- hrtimer-prio
+
|  |  |-- Makefile
+
|  |  |-- hrtimer-prio.c
+
|  |  `-- run.sh
+
|  |-- matrix_mult
+
|  |  |-- Makefile
+
|  |  |-- matrix_mult.c
+
|  |  `-- run_auto.sh
+
|  |-- measurement
+
|  |  |-- Makefile
+
|  |  |-- README
+
|  |  |-- preempt_timing.c
+
|  |  |-- rdtsc-latency.c
+
|  |  `-- run.sh
+
|  |-- periodic_cpu_load
+
|  |  |-- Makefile
+
|  |  |-- mixed_load.sh
+
|  |  |-- periodic_cpu_load.c
+
|  |  |-- periodic_cpu_load_single.c
+
|  |  `-- run_auto.sh
+
|  |-- pi-tests
+
|  |  |-- Makefile
+
|  |  |-- parse-testpi1.py
+
|  |  |-- parse-testpi2.py
+
|  |  |-- run_auto.sh
+
|  |  |-- sbrk_mutex.c
+
|  |  |-- test-skeleton.c
+
|  |  |-- testpi-0.c
+
|  |  |-- testpi-1.c
+
|  |  |-- testpi-2.c
+
|  |  |-- testpi-4.c
+
|  |  |-- testpi-5.c
+
|  |  |-- testpi-6.c
+
|  |  `-- testpi-7.c
+
|  |-- pi_perf
+
|  |  |-- Makefile
+
|  |  |-- pi_perf.c
+
|  |  `-- run_auto.sh
+
|  |-- prio-preempt
+
|  |  |-- Makefile
+
|  |  |-- prio-preempt.c
+
|  |  `-- run_auto.sh
+
|  |-- prio-wake
+
|  |  |-- Makefile
+
|  |  |-- prio-wake.c
+
|  |  `-- run_auto.sh
+
|  |-- pthread_kill_latency
+
|  |  |-- Makefile
+
|  |  |-- pthread_kill_latency.c
+
|  |  `-- run_auto.sh
+
|  |-- sched_football
+
|  |  |-- Makefile
+
|  |  |-- parse-football.py
+
|  |  |-- run_auto.sh
+
|  |  `-- sched_football.c
+
|  |-- sched_jitter
+
|  |  |-- Makefile
+
|  |  |-- README
+
|  |  |-- run_auto.sh
+
|  |  `-- sched_jitter.c
+
|  |-- sched_latency
+
|  |  |-- Makefile
+
|  |  |-- run_auto.sh
+
|  |  `-- sched_latency.c
+
|  `-- thread_clock
+
|      |-- Makefile
+
|      |-- run_auto.sh
+
|      `-- tc-2.c
+
|-- include
+
|  |-- librttest.h
+
|  |-- libstats.h
+
|  `-- list.h
+
|-- lib
+
|  |-- Makefile
+
|  |-- librttest.c
+
|  `-- libstats.c
+
|-- perf
+
|  |-- Makefile
+
|  `-- latency
+
|      |-- Makefile
+
|      |-- cpunoise.sh
+
|      |-- cpunoise2000.sh
+
|      |-- disknoise.sh
+
|      |-- pthread_cond_latency.c
+
|      |-- pthread_cond_many.c
+
|      |-- pthread_cond_many_histogram.sh
+
|      `-- run.sh
+
|-- profiles
+
|  `-- default
+
|-- run.sh
+
|-- scripts
+
|  |-- __init__.py
+
|  |-- check_pi.sh
+
|  |-- check_robust.sh
+
|  |-- parser.py
+
|  |-- run_c_files.sh
+
|  `-- setenv.sh
+
|-- stress
+
|  |-- Makefile
+
|  `-- pi-tests
+
|      |-- Makefile
+
|      |-- lookup_pi_state.c
+
|      `-- testpi-3.c
+
|-- testcases
+
|  `-- realtime
+
|      `-- doc
+
|          `-- AUTOMATED_RUN
+
`-- tools
+
    `-- ftqviz.py
+
+
29 directories, 103 files
+
</source>
+

Latest revision as of 06:30, 1 April 2009

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

Contents

[edit] Tree info of Realtime Test Tree

Below link is realtime testcase of LTP related tree informations. ( I can not uploae 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

[edit] Quick Howto

[edit] Installation

#> wget http://downloads.sourceforge.net/ltp/ltp-full-20090331.tgz
#> tar xvzf ltp-full-20090331.tgz
#> cd ltp=full-20090331
#> vi ./Makefile (If your architecture is not X86 , edit CROSS_COMPILE and LIB_DIR line).
#> make
#> make install

[edit] Running

#> ./runalltests.sh -p -q -l result-geunsik-all.log
#> ./runltp -i 1024 -m 128 -p -q -l /tmp/resultlog.377 -d /usr/ltp
#> ./runltplite.sh -i 1024 -m 128 -p -q 1l /tmp/resultlog.383 -d /usr/ltp

[edit] Report

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