dmsetup remove_all wipefs -a --force /dev/sda1 mkfs -t btrfs /dev/sda1 mkdir -p /fs/sda1 mount -t btrfs /dev/sda1 /fs/sda1 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 "fs_mark" "-d" "/fs/sda1/1" "-d" "/fs/sda1/2" "-d" "/fs/sda1/3" "-d" "/fs/sda1/4" "-d" "/fs/sda1/5" "-d" "/fs/sda1/6" "-d" "/fs/sda1/7" "-d" "/fs/sda1/8" "-d" "/fs/sda1/9" "-d" "/fs/sda1/10" "-d" "/fs/sda1/11" "-d" "/fs/sda1/12" "-d" "/fs/sda1/13" "-d" "/fs/sda1/14" "-d" "/fs/sda1/15" "-d" "/fs/sda1/16" "-d" "/fs/sda1/17" "-d" "/fs/sda1/18" "-d" "/fs/sda1/19" "-d" "/fs/sda1/20" "-d" "/fs/sda1/21" "-d" "/fs/sda1/22" "-d" "/fs/sda1/23" "-d" "/fs/sda1/24" "-d" "/fs/sda1/25" "-d" "/fs/sda1/26" "-d" "/fs/sda1/27" "-d" "/fs/sda1/28" "-d" "/fs/sda1/29" "-d" "/fs/sda1/30" "-d" "/fs/sda1/31" "-d" "/fs/sda1/32" "-D" "16" "-N" "256" "-n" "3200" "-L" "1" "-S" "1" "-s" "9"