-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more size classes #10139
Add more size classes #10139
Conversation
✅ Deploy Preview for meta-velox canceled.
|
@oerling has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
May I inquire about the motivation behind this modification? @oerling We have an analytic workload that relies on a Velox kernel-based compute engine. We suspect that the third-party library’s consecutive memory allocations exceed Velox MmapAllocator’s maximum size class of 1MB. Is this PR addressing a similar issue? |
5a4a672
to
ba9a38d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@oerling LGTM. Thanks!
@@ -92,6 +92,9 @@ struct MemoryManagerOptions { | |||
/// std::malloc. | |||
bool useMmapAllocator{false}; | |||
|
|||
// Number of pages in largest size class in MmapAllocator. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Number of pages ..
Experiment to see dynamics with 2, 4, 8, 16 MB classes added.
@oerling has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
Experiment to see dynamics with 2, 4, 8, 16 MB classes added.