modprobe -r brd modprobe brd rd_nr=1 rd_size=50331648 dmsetup remove_all wipefs -a --force /dev/ram0 mkfs -t xfs -f -mreflink=0 /dev/ram0 mkdir -p /fs/ram0 modprobe xfs mount -t xfs -o inode64 /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 creat-clo echo 1 echo 1500 echo 2 echo 1500 echo 1 ) | ./multitask -t &