• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

cgroup/23-Nov-2023-1,170854

cgroup_fj/23-Nov-2023-629383

cgroup_xattr/23-Nov-2023-488325

cpuacct/23-Nov-2023-233131

cpuctl/23-Nov-2023-3,6092,315

cpuctl_fj/23-Nov-2023-931628

cpuset/23-Nov-2023-12,1278,191

freezer/23-Nov-2023-3,2452,138

io-throttle/23-Nov-2023-597425

libcontrollers/23-Nov-2023-330148

memcg/23-Nov-2023-3,1261,820

memctl/23-Nov-2023-707407

pids/23-Nov-2023-482324

MakefileD23-Nov-20231.4 KiB5018

Makefile.incD23-Nov-20231.2 KiB4310

READMED23-Nov-20232.2 KiB8264

cgroup_lib.shD23-Nov-20231,023 4020

test_controllers.shD23-Nov-20236.3 KiB12073

testplan.txtD23-Nov-2023739 1613

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