"modprobe" "nd_e820" dmsetup remove_all wipefs -a --force /dev/pmem0 wipefs -a --force /dev/pmem1 mkfs -t xfs /dev/pmem0 mkfs -t xfs /dev/pmem1 mkdir -p /fs/pmem0 mount -t xfs -o nobarrier,inode64 -o dax /dev/pmem0 /fs/pmem0 mkdir -p /fs/pmem1 mount -t xfs -o nobarrier,inode64 -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=sync iodepth=32 size=7669584457 direct=0 runtime=200 invalidate=1 fallocate=posix group_reporting time_based [task_0] rw=rw directory=/fs/pmem0 numjobs=14 [task_1] rw=rw directory=/fs/pmem1 numjobs=14' | fio --output-format=json - umount /fs/pmem0 umount /fs/pmem1