"modprobe" "nd_e820" dmsetup remove_all wipefs -a --force /dev/pmem0 wipefs -a --force /dev/pmem1 mkfs -t ext4 -q -F /dev/pmem0 mkfs -t ext4 -q -F /dev/pmem1 mkdir -p /fs/pmem0 mount -t ext4 -o dax /dev/pmem0 /fs/pmem0 mkdir -p /fs/pmem1 mount -t ext4 -o dax /dev/pmem1 /fs/pmem1 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 ' [global] bs=4k ioengine=mmap iodepth=32 size=4473924266 direct=0 runtime=200 invalidate=1 fallocate=posix group_reporting time_based [task_0] rw=rw directory=/fs/pmem0 numjobs=24 [task_1] rw=rw directory=/fs/pmem1 numjobs=24' | fio --output-format=json - umount /fs/pmem0 umount /fs/pmem1