Home | History | Annotate | only in /external/ltp/testcases/kernel/controllers/memcg
Up to higher level directory
NameDateSize
.gitignore06-Dec-2017151
control/06-Dec-2017
functional/06-Dec-2017
Makefile06-Dec-20171K
README06-Dec-20171.7K
regression/06-Dec-2017
stress/06-Dec-2017

README

      1 TEST SUITE:
      2 
      3 The directory memcg contains the tests related to memory resource controller.
      4 Those testcases can reproduce bugs we found.
      5 
      6 There are total 44 testcases that have been added. These testcases
      7 contain the regression test, basis operation test and stress test of memctl.
      8 
      9 NOTE: the test can be run by root only.
     10 
     11 TESTS AIM:
     12 
     13 The aim of the tests is to track any future regressions, test the functionality
     14 of memctl..
     15 
     16 FILES DESCRIPTION:
     17 
     18 control/memcg_control_test.sh
     19 --------------------
     20 This script runs the testcases of control test.
     21 
     22 control/mem_process.c
     23 --------------------
     24 The program allocates memory specified using the '-m' option when 'm' is received
     25 through the named pipe /tmp/status_pipe and frees it on receiving 'm' again.
     26 It exits on receiving 'x'. It gets the page size on specifying the '-p' option.
     27 
     28 functional/memcgroup_function_test.sh
     29 --------------------
     30 This script runs all the 38 testcases of basis operation.
     31 
     32 functional/memcgroup_getpagesize.c
     33 --------------------
     34 The program gets page size through getpagesize().
     35 
     36 functional/memcgroup_process.c
     37 --------------------
     38 The program allocates some memory according to the user input when received SIGUSR.
     39 And, it frees all the allocated when received SIGUSR again.
     40 
     41 stress/memcgroup_stress_test.sh
     42 --------------------
     43 This script runs all the 2 testcases of stress test.
     44 
     45 stress/memcgroup_process_stress.c
     46 --------------------
     47 The program allocates some memory in a specified time period when received SIGUSR.
     48 
     49 regression/memcg_regression_test.sh
     50 --------------------
     51 This script runs all the 4 testcases of regression test.
     52 
     53 regression/memcg_test_*.c/sh
     54 --------------------
     55 The programs run each regression test.
     56 
     57 README
     58 ------
     59 The one you have gone through.
     60