"modprobe" "-r" "brd" "modprobe" "brd" "rd_nr=4" "rd_size=12582912" "dmsetup" "remove_all" "wipefs" "-a" "--force" "/dev/ram0" "wipefs" "-a" "--force" "/dev/ram1" "wipefs" "-a" "--force" "/dev/ram2" "wipefs" "-a" "--force" "/dev/ram3" "mdadm" "-q" "--create" "/dev/md0" "--chunk=256" "--level=raid0" "--raid-devices=4" "--force" "--assume-clean" "/dev/ram0" "/dev/ram1" "/dev/ram2" "/dev/ram3" wipefs -a --force /dev/md0 mkfs -t xfs /dev/md0 mkdir -p /fs/md0 mount -t xfs -o nobarrier,inode64 /dev/md0 /fs/md0 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 echo "500 32000 128 512" > /proc/sys/kernel/sem cat > workfile < config ( echo lkp-ivb-ep01 echo disk_rd echo 1 echo 9000 echo 2 echo 9000 echo 1 ) | ./multitask -t