Home | History | Annotate | only in /external/ltp/testcases/kernel/controllers
Up to higher level directory
NameDateSize
cgroup/05-Oct-2017
cgroup_fj/05-Oct-2017
cgroup_xattr/05-Oct-2017
cpuacct/05-Oct-2017
cpuctl/05-Oct-2017
cpuctl_fj/05-Oct-2017
cpuset/05-Oct-2017
freezer/05-Oct-2017
io-throttle/05-Oct-2017
libcontrollers/05-Oct-2017
Makefile05-Oct-20171.3K
Makefile.inc05-Oct-20171.2K
memcg/05-Oct-2017
memctl/05-Oct-2017
pids/05-Oct-2017
README05-Oct-20172.2K
test_controllers.sh05-Oct-20176.3K
testplan.txt05-Oct-2017739

README

      1 The complete dir tree is for testcases for resource management testing of linux kernel.
      2 For the test plan please refer to the file testplan.txt
      3 
      4 --------------
      5 ***WARNING:***
      6 --------------
      7 The cpu controller test creates the cpu controller device as /dev/cpuctl. In
      8 case you already have /dev/cpuctl it may be overwritten. So please rename it
      9 to have a backup of your file.
     10 
     11 The cpuset controller also creates the device as /dev/cpuset, so please do the
     12 similar work as above.
     13 
     14 
     15 FILES DESCRIPTION:
     16 
     17 testplan.txt
     18 ------------
     19 A brief description of the plan for resource management testing.
     20 
     21 test_controllers.sh
     22 -------------------
     23 This is the main script file that starts the test. It first checks if the
     24 controllers are enabled. If not enabled then it will not run the test and
     25 will exit giving warning.
     26 
     27 README
     28 ------
     29 This file.
     30 
     31 cgroup
     32 ------
     33 Directory containing the cgroup regression testcases.
     34 
     35 cpuctl
     36 ------
     37 Directory containing the cpu controller testcases. A similar directory will
     38 be created for any new controller.
     39 
     40 memctl
     41 ------
     42 Directory containing the memory controller testcases. A similar directory will
     43 be created for any new controller.
     44 
     45 cpuset
     46 ------
     47 Directory containing the cpuset controller testcases. A similar directory will
     48 be created for any new controller.
     49 
     50 libcontrollers
     51 --------------
     52 This directory contains the library for cpucontroller testing.
     53 
     54 cpuacct
     55 -----------
     56 Directory containing the cpu accounting controller testcases.
     57 
     58 Makefile
     59 --------
     60 The usual Makefile to conduct all the tests.
     61 
     62 Before starting compilation this file checks if the kernel is supporting the
     63 cpu controller. If yes it enters lower directory and compiles the source files
     64 otherwise exits warning to user.
     65 Hence the user has to take care of the fact that the test runs or just quiets.
     66 (Your kernel needs to be 2.6.24 onwards with proper config options)
     67 
     68 And before starting test cpuset, Please check whether the test system has
     69 4 CPUs and 3 Memory nodes and the kernel version is 2.6.28 or above.
     70 
     71 A snapshot of config file options is given below:
     72 CONFIG_CGROUPS=y
     73 CONFIG_CGROUP_DEBUG=y
     74 CONFIG_CGROUP_NS=y
     75 CONFIG_CPUSETS=y
     76 CONFIG_PROC_PID_CPUSET=y
     77 CONFIG_GROUP_SCHED=y
     78 CONFIG_FAIR_GROUP_SCHED=y
     79 CONFIG_RT_GROUP_SCHED=y
     80 # CONFIG_USER_SCHED is not set
     81 CONFIG_CGROUP_SCHED=y
     82