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 4047294464 /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-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 ./case-msync-mt truncate /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -s 4047294464 ./usemem --runtime 300 -S -t 4 -f /tmp/vm-scalability-tmp/vm-scalability/sparse-msync-mt -F --prealloc --open-rw 2023647232 umount /tmp/vm-scalability-tmp/vm-scalability rm /tmp/vm-scalability-tmp/vm-scalability.img umount /tmp/vm-scalability-tmp