Closed vinser52 closed 1 year ago
Thank you for the PR.
Do you think you could add in the forcePageAllocation method from PosixShmSegment.cpp, so that each page is prefaulted? See https://github.com/intel/CacheLib/blob/main/cachelib/shm/PosixShmSegment.cpp#L350.
This reduces the number of minor page faults dramatically (from over 1.7M down to ~100K).
Do you think you could add in the forcePageAllocation method from PosixShmSegment.cpp, so that each page is prefaulted? See https://github.com/intel/CacheLib/blob/main/cachelib/shm/PosixShmSegment.cpp#L350.
I think PR #81 should help in that case.
I think we can merge these changes to our develop branch while we are waiting for PR95 to be upstreamed.
This change is