rpma: gpspm: introduce the busy_wait_polling toggle
authorOksana Salyk <oksana.salyk@intel.com>
Fri, 23 Apr 2021 06:09:44 +0000 (08:09 +0200)
committerLukasz Dorau <lukasz.dorau@intel.com>
Fri, 23 Apr 2021 06:41:45 +0000 (08:41 +0200)
commit6a2299789dccdd24351744476586e7d562a3940d
tree0534b292a2aa74f5aa7cf25945a706c85c1a1c02
parent5592e99219864e21b425cfc66fa05ece5b514259
rpma: gpspm: introduce the busy_wait_polling toggle

The performance of the librpma_gpspm engine depends heavily
on how much CPU power it can use to its work.
One can want either to take all available CPU power
and see what the maximum possible performance is
or configure it less aggressively and collect the results
when the CPU is not solely dedicated to doing this one task.

The librpma_gpspm engine allows toggling between one and another
by either waiting for incoming requests in the kernel
using rpma_conn_completion_wait() (busy_wait_polling=0)
or trying to collect the completion as soon as it appears
by polling all the time using rpma_conn_completion_get()
(busy_wait_polling=1).

Signed-off-by: Oksana Salyk <oksana.salyk@intel.com>
HOWTO
engines/librpma_fio.c
engines/librpma_fio.h
engines/librpma_gpspm.c
examples/librpma_gpspm-server.fio
fio.1