pmem / rpma

Remote Persistent Memory Access Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MT-test failed, maybe a synchro issue in the MT-framework?

ldorau opened this issue · comments

@ldorau @janekmi

It seems that mt-framework lacks process synchronization because fork() cannot determine the execution order of (parent & child) processes. We need to finish rdma_listen() in child before running rdma_connect in parent by some mechanisms (e.g. futex, semaphore, signal? not sure which one is the best).

You are right @yangx-jy. I think the easier way is to provide an interprocess-synchronization based on semaphores. I have proposed a very rough proof of concept. But it requires some additional work to become an elegant solution.

As for now, I recommend turning off all tests that have sneaked into our CI introducing this issue.

Ref: #1050

Fixed by #1604 and #1635