This repository has been archived by the owner on Sep 5, 2023. It is now read-only.
FEAT: manual control of completion events generation [DRAFT] #1743
Labels
enhancement
New feature or request
FEAT: manual control of completion events generation
Rationale
Each time
rpma_conn_wait()
is called, it arms CQ to trigger a new event as soon as the next work completion is ready.rpma/src/conn.c
Line 275 in e711430
That may cause unnecessary event generation if an application can not consume completions fast enough.
To avoid that two improvements are needed:
rpma_conn_wait()
Description
The new semantic of the
rpma_conn_wait()
can be as follow:librpma.h
:and a new API call to trigger events on completion:
With such an approach we are able to support the following pattern of completions processing:
The text was updated successfully, but these errors were encountered: