User Tools

Site Tools


realtime:documentation:howto:tools:ltp

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
realtime:documentation:howto:tools:ltp [2017/02/08 14:14]
anna-maria created; moved into new namespace
realtime:documentation:howto:tools:ltp [2017/02/10 01:28] (current)
vedangpatel [Installation] Change the code block from c to sh and change each command to start with '$>' instead of '#>'
Line 10: Line 10:
 ===== Installation ===== ===== Installation =====
 Following are the steps to quickly download ltp and build all the realtime related testcases: Following are the steps to quickly download ltp and build all the realtime related testcases:
-<​code ​c+<​code ​sh
-#> git clone https://​github.com/​linux-test-project/​ltp.git +$> git clone https://​github.com/​linux-test-project/​ltp.git 
-#> cd ltp +$> cd ltp 
-#> make autotools +$> make autotools 
-#> ./​configure +$> ./​configure 
-#> cd testcases/​realtime +$> cd testcases/​realtime 
-#> ./​configure +$> ./​configure 
-#> make+$> make
 </​code>​ </​code>​
  
Line 47: Line 47:
 To run all the test cases, just traverse to ${SRC}/​testcases/​realtime and run the following command as ''​root'':​ To run all the test cases, just traverse to ${SRC}/​testcases/​realtime and run the following command as ''​root'':​
  
-<WRAP center round important ​60%> +<WRAP center round important ​100%> 
-It is not safe to run this command ​on a dev system.+Be careful with these tests! 
 + 
 +Don'​t ​run them on production systems. Growfiles, doio, and iogen in particular 
 +stress the I/O capabilities of systems and while they should not cause problems 
 +on properly functioning systems, they are intended to find (or cause) problems. 
 +(Reference: [[https://​github.com/​linux-test-project/​ltp/​blob/​master/​README]])
 </​WRAP>​ </​WRAP>​
  
-./run.sh -t all -l 1 (At the time of writing, the switch for loops, -l, is advertised as optional in usage. But, it really isnt.) +<code sh> 
 +# please make sure to include the '​-l'​ argument even though it is specified as optional  
 +# because there is a bug in ltp which throughs out a syntax error if the argument is not specified. 
 +$> ./run.sh -t all -l 1 
 +</​code>​
 The user can also run functional, stress and performance test by providing ''​func'',​ ''​stress''​ and ''​perf''​ as argument to -t switch respectively. The user can also run functional, stress and performance test by providing ''​func'',​ ''​stress''​ and ''​perf''​ as argument to -t switch respectively.
realtime/documentation/howto/tools/ltp.1486563258.txt.gz · Last modified: 2017/02/08 14:14 by anna-maria