Lines Matching +full:1 +full:mb
17 if [[ "$1" == "-cgroup-v2" ]]; then
18 cgroup2=1
24 CGROUP_ROOT=$(mount -t cgroup2 | head -1 | awk '{print $3}')
28 do_umount=1
36 do_umount=1
44 mb=$(($kb / 1024))
45 echo $mb
48 MB=$(get_machine_hugepage_size)
64 local expected_a="$1"
79 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
80 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
84 exit 1
88 actual_a_hugetlb="$(cat "$CGROUP_ROOT"/a/hugetlb.${MB}MB.$usage_file)"
91 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB
92 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
96 exit 1
107 echo actual b = $((${actual_b%% *} / 1024 / 1024)) MB
108 echo expected b = $((${expected_b%% *} / 1024 / 1024)) MB
112 exit 1
116 actual_b_hugetlb="$(cat "$CGROUP_ROOT"/a/b/hugetlb.${MB}MB.$usage_file)"
119 echo actual b hugetlb = $((${actual_b_hugetlb%% *} / 1024 / 1024)) MB
120 echo expected b hugetlb = $((${expected_b_hugetlb%% *} / 1024 / 1024)) MB
124 exit 1
131 sleep 1
151 local cgroup="$1"
173 size=$((${MB} * 1024 * 1024 * 25)) # 50MB = 25 * 2MB hugepages.