HomeSort by relevance Sort by last modified time
    Searched refs:CPUSET (Results 1 - 12 of 12) sorted by null

  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_exclusive_test/
cpuset_exclusive_test.sh 38 echo 0 > "$CPUSET/father/cpu_exclusive" || return 1
39 echo 0 > "$CPUSET/father/child/cpu_exclusive" || return 1
41 test 0 = $(cat "$CPUSET/father/child/cpu_exclusive") || return 1
46 echo 1 > "$CPUSET/father/cpu_exclusive" || return 1
47 echo 0 > "$CPUSET/father/child/cpu_exclusive" || return 1
49 test 0 = $(cat "$CPUSET/father/child/cpu_exclusive") || return 1
54 echo 1 > "$CPUSET/father/cpu_exclusive" || return 1
55 echo 1 > "$CPUSET/father/child/cpu_exclusive" || return 1
57 test 1 = $(cat "$CPUSET/father/child/cpu_exclusive") || return 1
62 echo 0 > "$CPUSET/father/cpu_exclusive" || return
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_hierarchy_test/
cpuset_hierarchy_test.sh 45 echo > "$CPUSET/father/cpus" || return 1
46 echo > "$CPUSET/father/child/cpus" || return 1
48 cpuset_log "father cpus $(cat "$CPUSET/father/cpus")"
49 cpuset_log "child cpus $(cat "$CPUSET/father/child/cpus")"
51 test -z "$(cat "$CPUSET/father/cpus")" || return 1
52 test -z "$(cat "$CPUSET/father/child/cpus")" || return 1
57 echo > "$CPUSET/father/cpus" || return 1
58 echo 0 > "$CPUSET/father/child/cpus" 2> /dev/null && return 1
60 cpuset_log "father cpus $(cat "$CPUSET/father/cpus")"
61 cpuset_log "child cpus $(cat "$CPUSET/father/child/cpus")
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/
cpuset_memory_pressure_testset.sh 46 echo 0 > "$CPUSET/memory_pressure_enabled" 2> $CPUSET_TMP/stderr
56 if [ $(cat "$CPUSET/memory_pressure") -ne 0 ]; then
65 echo 0 > "$CPUSET/memory_pressure_enabled" 2> $CPUSET_TMP/stderr
77 if [ $(cat "$CPUSET/memory_pressure") -ne 0 ]; then
86 echo 1 > "$CPUSET/memory_pressure_enabled" 2> $CPUSET_TMP/stderr
93 cpuset_set "$CPUSET/sub_cpuset" "0" "0" "0" 2> $CPUSET_TMP/stderr
103 if [ $(cat "$CPUSET/memory_pressure") -ne 0 ]; then
107 if [ $(cat "$CPUSET/sub_cpuset/memory_pressure") -ne 0 ]; then
117 echo 1 > "$CPUSET/memory_pressure_enabled" 2> $CPUSET_TMP/stderr
124 cpuset_set "$CPUSET/sub_cpuset" "0" "0" "0" 2> $CPUSET_TMP/stder
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/
cpuset_funcs.sh 3 # functions for cpuset test
38 CPUSET="/dev/cpuset"
90 CPUSET_CONTROLLER=`grep -w cpuset /proc/cgroups | cut -f1`
91 CPUSET_CONTROLLER_VALUE=`grep -w cpuset /proc/cgroups | cut -f4`
93 if [ "$CPUSET_CONTROLLER" = "cpuset" ] && [ "$CPUSET_CONTROLLER_VALUE" = "1" ]
99 tst_brkm TCONF "Cpuset is not supported"
119 # Create /dev/cpuset & mount the cgroup file system with cpuset
123 if [ -e "$CPUSET" ]
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/
cpuset_base_ops_testset.sh 108 base_op_test "$CPUSET/1/cpus" "$cpus" "$result"
127 base_op_test "$CPUSET/1/cpus" "0,1-$((nr_cpus-2)),$((nr_cpus-1))" "0-$((nr_cpus-1))"
128 base_op_test "$CPUSET/1/cpus" "0,1-$((nr_cpus-2))," "0-$((nr_cpus-2))"
132 base_op_test "$CPUSET/1/cpus" "0-" "WRITE_ERROR"
134 base_op_test "$CPUSET/1/cpus" "0-" "0"
143 base_op_test "$CPUSET/1/mems" "$mems" "$result"
162 base_op_test "$CPUSET/1/mems" "0,1-$((nr_mems-2)),$((nr_mems-1))" "0-$((nr_mems-1))"
163 base_op_test "$CPUSET/1/mems" "0,1-$((nr_mems-2))," "0-$((nr_mems-2))"
167 base_op_test "$CPUSET/1/mems" "0-" "WRITE_ERROR"
169 base_op_test "$CPUSET/1/mems" "0-" "0
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
cpuset_memory_testset.sh 50 # $2 - move cpuset_memory_test's pid to this cpuset
66 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr
74 simple_getresult $! "$CPUSET/0"
83 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr
91 simple_getresult $! "$CPUSET/0"
100 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr
108 simple_getresult $! "$CPUSET/0"
117 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr
125 simple_getresult $! "$CPUSET/0"
134 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stder
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_inherit_test/
cpuset_inherit_testset.sh 108 inherit_test "$CPUSET/1/cpus" "$cpus" "$result"
122 inherit_test "$CPUSET/1/mems" "$mems" "$result"
140 inherit_test "$CPUSET/1/$filename" "$flags" "$result"
157 inherit_test "$CPUSET/1/$filename" "$flags" "$result"
171 inherit_test "$CPUSET/1/sched_load_balance" "$flag" "$result"
184 inherit_test "$CPUSET/1/sched_relax_domain_level" "$domain_level" "$result"
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_load_balance_test/
cpuset_sched_domains_test.sh 62 cpuset_set "$CPUSET" "-" "$mems_all" "$load_balance" 2>$CPUSET_TMP/stderr
94 local g_path="$CPUSET/1"
105 cpuset_set "$CPUSET" "-" "$mems_all" "$r_balance" 2> $CPUSET_TMP/stderr
137 local g1_path="$CPUSET/1"
141 local g2_path="$CPUSET/2"
158 cpuset_set "$CPUSET" "-" "$mems_all" "0" 2> $CPUSET_TMP/stderr
cpuset_load_balance_test.sh 60 local g_path="$CPUSET/1"
72 cpuset_set "$CPUSET" "-" "$mems_all" "$r_balance" 2> $CPUSET_TMP/stderr
160 local g1_path="$CPUSET/1"
164 local g2_path="$CPUSET/2"
182 cpuset_set "$CPUSET" "-" "$mems_all" "0" 2> $CPUSET_TMP/stderr
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_hotplug_test/
cpuset_hotplug_test.sh 89 root_cpus="`cat $CPUSET/cpus`"
119 local path="$CPUSET/1"
172 tasks=`cat $CPUSET/tasks | grep "\b$tst_pid\b"`
215 tst_resm TPASS "Cpuset vs CPU hotplug test succeeded."
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_spread_test/
cpuset_memory_spread_testset.sh 196 local cpusetpath="$CPUSET/1"
273 tst_resm TPASS "Cpuset memory spread page test succeeded."
279 # test general spread page cache in a cpuset
326 tst_resm TPASS "Cpuset memory spread page test succeeded."
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_syscall_test/
cpuset_syscall_testset.sh 39 TEST_CPUSET="$CPUSET/0"
355 tst_resm TPASS "Cpuset vs systemcall test succeeded."

Completed in 75 milliseconds