rpma: add librpma_apm_* and librpma_gpspm_* engines
[fio.git] / examples / librpma_gpspm-server.fio
CommitLineData
e4c4625f
JM
1# Example of the librpma_gpspm_server job
2
3[global]
4ioengine=librpma_gpspm_server
5create_serialize=0 # (required) forces specific initiation sequence
6kb_base=1000 # turn on the straight units handling (non-compatibility mode)
7serverip=[serverip] #IP address to listen on
8port=7204 # port(s) the server jobs will listen on, ports <port; port + numjobs - 1> will be used
9thread
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), accepts and executes flush
16# requests, and sends back a flush response for each of the requests.
17# When the client is done it sends the termination notice to the server's thread.
18
19[server]
20# set to 1 (true) ONLY when Direct Write to PMem from the remote host is possible
21# (https://pmem.io/rpma/documentation/basic-direct-write-to-pmem.html)
22direct_write_to_pmem=0
23numjobs=1 # number of expected incomming connections
24iodepth=2 # number of parallel GPSPM requests
25size=100MiB # size of workspace for a single connection
26filename=malloc # device dax or an existing fsdax file or "malloc" for allocation from DRAM
27# filename=/dev/dax1.0
28
29# The client will terminate the server when the client will end up its job.
30time_based
31runtime=365d