Home | History | Annotate | only in /external/ltp/testcases/kernel/controllers/cpuset
Up to higher level directory
NameDateSize
cpuset_base_ops_test/21-Aug-2018
cpuset_exclusive_test/21-Aug-2018
cpuset_funcs.sh21-Aug-20185.9K
cpuset_hierarchy_test/21-Aug-2018
cpuset_hotplug_test/21-Aug-2018
cpuset_inherit_test/21-Aug-2018
cpuset_lib/21-Aug-2018
cpuset_load_balance_test/21-Aug-2018
cpuset_memory_pressure_test/21-Aug-2018
cpuset_memory_spread_test/21-Aug-2018
cpuset_memory_test/21-Aug-2018
cpuset_regression_test.sh21-Aug-20183.7K
cpuset_syscall_test/21-Aug-2018
Makefile21-Aug-20181.3K
Makefile.inc21-Aug-20181.5K
README21-Aug-20182.8K

README

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