• Home
Name Date Size #Lines LOC

..--

cpuset_base_ops_test/03-May-2024-319218

cpuset_exclusive_test/03-May-2024-276180

cpuset_hierarchy_test/03-May-2024-501342

cpuset_hotplug_test/03-May-2024-397281

cpuset_inherit_test/03-May-2024-247155

cpuset_lib/03-May-2024-5,8463,737

cpuset_load_balance_test/03-May-2024-1,179842

cpuset_memory_pressure_test/03-May-2024-356245

cpuset_memory_spread_test/03-May-2024-509333

cpuset_memory_test/03-May-2024-1,263985

cpuset_syscall_test/03-May-2024-640498

.gitignoreD03-May-2024309 87

MakefileD03-May-20241.3 KiB4615

Makefile.incD03-May-20241.5 KiB4914

READMED03-May-20242.8 KiB9067

cpuset_funcs.shD03-May-20245.9 KiB250177

cpuset_regression_test.shD03-May-20243.7 KiB15195

README

1
2TEST SUITE:
3
4The directory cpuset contains the tests related to the cpuset controller.
5
6Cpuset is a mechanism for assigning a set of CPUs and Memory Nodes to a set of
7tasks.
8
9There are total 258 testcases that have been added till date. Now, These
10testcases contain the basis operation test and part functionality test of
11cpuset, such as: adding/removing cpus/mems, setting flags, exclusive function,
12hierarchy relation, inherit relation, cpuset VS syscall and so on
13
14NOTE: the test can be run by root only. And 4 CPUs and 3 Memory Nodes is need
15to run it at least.
16
17TESTS AIM:
18
19The aim of the tests is to test the functionality of cpuset.
20
21FILES DESCRIPTION:
22
23cpuset_base_ops_test
24--------------------
25Directory containing the shell script which is used to test the basis
26operation of cpuset. such as: adding/removing cpus/mems, setting flags.
27
28cpuset_exclusive_test
29---------------------
30Directory containing the shell script which is used to test exclusive
31function of cpuset.
32
33cpuset_hierarchy_test
34---------------------
35Directory containing the shell script is used to test hierarchy relation
36of cpuset.
37
38cpuset_syscall_test
39-------------------
40Directory containing the shell script and program which are used to test
41syscalls whether they collide with cpuset.
42
43cpuset_hotplug_test
44-------------------
45Directory containing the shell script and program which are used to test
46cpu hotplug whether they collide with cpuset.
47
48cpuset_load_balance_test
49------------------------
50Directory containing the shell script and program which are used to test
51scheduler domains partitions. Beside that, they are also used to check that
52whether load balance breaks the cpuset's limit.
53
54cpuset_memory_pressure_test
55---------------------------
56Directory containing the shell script and program which are used to test
57memory pressure measurement function.
58
59cpuset_memory_spread_test
60-------------------------
61Directory containing the shell script and program which are used to test
62page caches spread. There are two control files. One is memory_spread_page which
63is used to control the allocation of page caches, the other is
64memory_spread_slab which is used to control the allocation of slab objects.
65Because there are much factor to affect the result of slab spread test, it
66is hard to test it. So we just test memory_spread_page.
67
68cpuset_memory_test
69------------------
70Directory containing the shell script and program which are used to test
71memory allocation.
72
73cpuset_lib
74----------
75This directory contains the library and script for cpuset controller testing.
76such as: cpuset_funcs.sh(functions for cpuset test script)
77
78run_cpuset_test.sh
79------------------
80This script runs all the 190 testcases.
81
82Makefile
83--------
84Each directory in cpuset has its usual makefile, it is for its directory.
85
86README
87------
88The one you have gone through.
89
90