| 1 | # Example of the librpma_gpspm_server job |
| 2 | |
| 3 | [global] |
| 4 | ioengine=librpma_gpspm_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), 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) |
| 22 | direct_write_to_pmem=0 |
| 23 | # set to 0 (false) to wait for completion instead of busy-wait polling completion. |
| 24 | busy_wait_polling=1 |
| 25 | numjobs=1 # number of expected incomming connections |
| 26 | iodepth=2 # number of parallel GPSPM requests |
| 27 | size=100MiB # size of workspace for a single connection |
| 28 | filename=malloc # device dax or an existing fsdax file or "malloc" for allocation from DRAM |
| 29 | # filename=/dev/dax1.0 |
| 30 | |
| 31 | # The client will terminate the server when the client will end up its job. |
| 32 | time_based |
| 33 | runtime=365d |