for cpu_dir in /sys/devices/system/cpu/cpu[0-9]* do online_file="$cpu_dir"/online [ -f "$online_file" ] && [ "$(cat "$online_file")" -eq 0 ] && continue file="$cpu_dir"/cpufreq/scaling_governor [ -f "$file" ] && echo "performance" > "$file" done cd /lkp/benchmarks/vm-scalability mount -t tmpfs -o size=100% vm-scalability-tmp /tmp/vm-scalability-tmp truncate -s 134844444672 /tmp/vm-scalability-tmp/vm-scalability.img mkfs.xfs -q /tmp/vm-scalability-tmp/vm-scalability.img mount -o loop /tmp/vm-scalability-tmp/vm-scalability.img /tmp/vm-scalability-tmp/vm-scalability ./case-lru-file-readonce truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-1 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-2 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-3 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-4 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-5 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-6 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-7 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-8 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-9 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-10 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-11 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-12 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-13 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-14 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-15 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-16 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-17 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-18 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-19 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-20 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-21 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-22 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-23 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-24 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-25 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-26 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-27 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-28 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-29 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-30 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-31 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-32 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-33 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-34 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-35 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-36 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-37 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-38 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-39 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-40 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-41 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-42 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-43 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-44 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-45 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-46 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-47 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-48 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-49 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-50 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-51 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-52 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-53 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-54 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-55 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-56 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-57 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-58 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-59 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-60 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-61 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-62 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-63 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-64 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-65 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-66 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-67 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-68 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-69 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-70 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-71 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-72 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-73 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-74 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-75 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-76 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-77 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-78 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-79 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-80 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-81 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-82 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-83 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-84 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-85 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-86 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-87 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-88 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-89 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-90 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-91 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-92 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-93 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-94 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-95 -s 45812984490 truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-lru-file-readonce-96 -s 45812984490 umount /tmp/vm-scalability-tmp/vm-scalability rm /tmp/vm-scalability-tmp/vm-scalability.img umount /tmp/vm-scalability-tmp