Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples add mmap cxl.mem fsdax or tmpfs fio config example #1692

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions examples/mmap-cxlmem.fio
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#
# run command for this workload:
# you can configure tmpfs to emulate cxl.mem if you do not have device as below. or configure cxl.mem into fsdax mode to test
# mount -t tmpfs -o size=20G tmpfs /mnt/mytmpfs
#
[global]
thread
group_reporting
norandommap
overwrite=1
thinktime=0
sync=0
direct=0

ioengine=mmap
#
# Important note: this workload is run on a tmpfs as emulation of cxl.mem, file system, mounting
filename=/mnt/mytmpfs/test1
size=1GB
#offset_increment=50G # each of 'numjobs' will get its own space within the device

time_based
runtime=300
ramp_time=30

[SeqW]
bs=4k
numjobs=1 # depending on CPU core count more can be better, but also can be a bottleneck
iodepth=1

rw=write
#rwmixread=100
#percentage_random=0