[libfabric-users] OFI libfabric and forking
Hefty, Sean
sean.hefty at intel.com
Mon Nov 29 09:04:09 PST 2021
> Before I open an issue against libfabric, I've got a high level question.
>
> If an application process initializes libfabric, and in particular, uses the memory
> monitor infrastructure, should the application be able to fork additional processes
> without problems?
> Assume the forked processes are not utilizing libfabric in any way.
With older Linux kernels, fork can cause issues because of copy-on-write. There are environment variable settings that can be used to help here, related to verbs fork support and memory registration.
I believe very new kernels have a fix for problem, which disables copy-on-write for pinned memory.
- Sean
More information about the Libfabric-users
mailing list