Merge branch 'master' of https://github.com/celestinechen/fio
[fio.git] / examples / librpma_apm-server.fio
1 # Example of the librpma_apm_server job
2
3 [global]
4 ioengine=librpma_apm_server
5 create_serialize=0 # (required) forces specific initiation sequence
6 kb_base=1000 # turn on the straight units handling (non-compatibility mode)
7 serverip=[serverip] # IP address to listen on
8 port=7204 # port(s) the server jobs will listen on, ports <port; port + numjobs - 1> will be used
9 thread
10
11 # The server side spawns one thread for each expected connection from
12 # the client-side, opens and registers the range dedicated for this thread
13 # (a workspace) from the provided memory.
14 # Each of the server threads accepts a connection on the dedicated port
15 # (different for each and every working thread) and waits for it to end up,
16 # and closes itself.
17
18 [server]
19 # set to 1 (true) ONLY when Direct Write to PMem from the remote host is possible
20 # (https://pmem.io/rpma/documentation/basic-direct-write-to-pmem.html)
21 direct_write_to_pmem=0
22
23 numjobs=1 # number of expected incoming connections
24 size=100MiB # size of workspace for a single connection
25 filename=malloc # device dax or an existing fsdax file or "malloc" for allocation from DRAM
26 # filename=/dev/dax1.0