Home
last modified time | relevance | path

Searched refs:MB (Results 1 – 25 of 25) sorted by relevance

/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh89 MB=$(get_machine_hugepage_size)
99 echo "$cgroup_limit" >$cgroup_path/$name/hugetlb.${MB}MB.$fault_limit_file
103 $cgroup_path/$name/hugetlb.${MB}MB.$reservation_limit_file
115 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
128 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file"
141 local path="$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file"
167 local hugetlb_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$fault_usage_file
168 local reserved_usage=$cgroup_path/$cgroup/hugetlb.${MB}MB.$reservation_usage_file
268 local size=$(($1 * ${MB} * 1024 * 1024))
271 local cgroup_limit=$(($4 * ${MB} * 1024 * 1024))
[all …]
Dhugetlb_reparenting_test.sh47 MB=$(get_machine_hugepage_size)
78 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
79 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
87 actual_a_hugetlb="$(cat "$CGROUP_ROOT"/a/hugetlb.${MB}MB.$usage_file)"
90 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB
91 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
106 echo actual b = $((${actual_b%% *} / 1024 / 1024)) MB
107 echo expected b = $((${expected_b%% *} / 1024 / 1024)) MB
115 actual_b_hugetlb="$(cat "$CGROUP_ROOT"/a/b/hugetlb.${MB}MB.$usage_file)"
118 echo actual b hugetlb = $((${actual_b_hugetlb%% *} / 1024 / 1024)) MB
[all …]
Dgup_test.c13 #define MB (1UL << 20) macro
22 static unsigned long size = 128 * MB;
127 size = atoi(optarg) * MB; in main()
Dksm_tests.c19 #define MB (1ul << 20) macro
425 map_size *= MB; in ksm_merge_time()
445 printf("Total size: %lu MiB\n", map_size / MB); in ksm_merge_time()
448 printf("Average speed: %.3f MiB/s\n", (map_size / MB) / in ksm_merge_time()
487 printf("Total size: %lu MiB\n\n", (page_size * page_count) / MB); in ksm_cow_time()
491 printf("Average speed: %.3f MiB/s\n\n", ((page_size * (page_count / 2)) / MB) / in ksm_cow_time()
519 printf("Average speed: %.3f MiB/s\n", ((page_size * (page_count / 2)) / MB) / in ksm_cow_time()
Dpkey-x86.h49 #define MB (1<<20) macro
Dprotection_keys.c1298 buf = mmap(NULL, 1*MB, PROT_READ|PROT_WRITE, MAP_ANONYMOUS|MAP_PRIVATE, -1, 0); in arch_force_pkey_reg_init()
1309 munmap(buf, 1*MB); in arch_force_pkey_reg_init()
/tools/perf/Documentation/
Dperf-iostat.txt18 - Inbound Read - I/O devices below root port read from the host memory, in MB
20 - Inbound Write - I/O devices below root port write to the host memory, in MB
22 - Outbound Read - CPU reads from I/O devices below root port, in MB
24 - Outbound Write - CPU writes to I/O devices below root port, in MB
61 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB)
80 … port Inbound Read(MB) Inbound Write(MB) Outbound Read(MB) Outbound Write(MB)
Dperf-bench.txt160 Specify size of memory to copy (default: 1MB).
161 Available units are B, KB, MB, GB and TB (case insensitive).
184 Specify size of memory to set (default: 1MB).
185 Available units are B, KB, MB, GB and TB (case insensitive).
Dperf.data-directory-format.txt37 [ perf record: Captured and wrote 0.015 MB perf.data (9 samples) ]
Dexamples.txt75 [ perf record: Captured and wrote 0.267 MB perf.data (~11679 samples) ]
129 [ perf record: Captured and wrote 0.963 MB perf.data (~42069 samples) ]
Dperf-timechart.txt104 [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]
Dperf-intel-pt.txt858 [ perf record: Captured and wrote 0.042 MB perf.data ]
1156 [ perf record: Captured and wrote 3.939 MB perf.data ]
1241 [ perf record: Captured and wrote 5.829 MB ]
1302 [ perf record: Captured and wrote 9.041 MB perf.data.kvm ]
1523 [ perf record: Captured and wrote 0.017 MB perf.data ]
Dperf-script-python.txt99 [ perf record: Captured and wrote 56.545 MB perf.data (~2470503 samples) ]
/tools/testing/selftests/cgroup/
Dtest_memcontrol.c91 size_t size = MB(50); in alloc_anon_50M_check()
122 size_t size = MB(50); in alloc_pagecache_50M_check()
193 return alloc_pagecache(fd, MB(50)); in alloc_pagecache_50M()
201 if (alloc_pagecache(fd, MB(50))) in alloc_pagecache_50M_noexit()
345 MB(150), 3)) { in test_memcg_min()
351 if (cg_run(parent[2], alloc_anon, (void *)MB(148))) in test_memcg_min()
354 if (!values_close(cg_read_long(parent[1], "memory.current"), MB(50), 3)) in test_memcg_min()
360 if (!values_close(c[0], MB(33), 10)) in test_memcg_min()
363 if (!values_close(c[1], MB(17), 10)) in test_memcg_min()
369 if (!cg_run(parent[2], alloc_anon, (void *)MB(170))) in test_memcg_min()
[all …]
Dcgroup_util.h9 #define MB(x) (x << 20) macro
Dtest_core.c95 (void *) MB(100)); in test_cgcore_destroy()
/tools/bootconfig/scripts/
Dbconf2ftrace.sh237 *MB)
238 expr ${1%MB} \* 1024;;
/tools/testing/selftests/resctrl/
Dresctrl.h27 #define MB (1024 * 1024) macro
Dfill_buf.c24 #define MB (1024 * 1024) macro
Dresctrlfs.c333 buffer_span = span * MB; in run_benchmark()
Dresctrl_val.c575 bw_resc = (bw_resc_end - *bw_resc_start) / MB; in measure_vals()
/tools/testing/selftests/mincore/
Dmincore_selftest.c22 #define MB (1UL << 20) macro
23 #define FILE_SIZE (4 * MB)
/tools/power/pm-graph/config/
Dfreeze-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)
Dstandby-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)
Dsuspend-callgraph.cfg11 # NOTE: the output of this test is very large (> 30MB)