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