• Home
  • History
  • Annotate
  • only in /external/ltp/testcases/kernel/controllers/
NameDateSize

..11-Jun-20184 KiB

cgroup/11-Jun-20184 KiB

cgroup_fj/11-Jun-20184 KiB

cgroup_xattr/11-Jun-20184 KiB

cpuacct/11-Jun-20184 KiB

cpuctl/11-Jun-20184 KiB

cpuctl_fj/11-Jun-20184 KiB

cpuset/11-Jun-20184 KiB

freezer/11-Jun-20184 KiB

io-throttle/11-Jun-20184 KiB

libcontrollers/11-Jun-20184 KiB

Makefile11-Jun-20181.3 KiB

Makefile.inc11-Jun-20181.2 KiB

memcg/11-Jun-20184 KiB

memctl/11-Jun-20184 KiB

pids/11-Jun-20184 KiB

README11-Jun-20182.2 KiB

test_controllers.sh11-Jun-20186.3 KiB

testplan.txt11-Jun-2018739

README

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