modprobe -r brd modprobe brd rd_nr=1 rd_size=50331648 dmsetup remove_all wipefs -a --force /dev/ram0 mkfs -t ext4 -q -E lazy_itable_init=0,lazy_journal_init=0 -F /dev/ram0 mkdir -p /fs/ram0 mount -t ext4 /dev/ram0 /fs/ram0 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-icl-2sp2 echo disk_rr echo 1 echo 3000 echo 2 echo 3000 echo 1 ) | ./multitask -t &