"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=raid1" "--raid-devices=4" "--force" "--assume-clean" "/dev/ram0" "/dev/ram1" "/dev/ram2" "/dev/ram3" wipefs -a --force /dev/md0 mkfs -t xfs -f /dev/md0 mkdir -p /fs/md0 mount -t xfs -o 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-cpx-4s1 echo sync_disk_rw echo 1 echo 300 echo 2 echo 300 echo 1 ) | ./multitask -t &