Skip to content

Conversation

byrnedj
Copy link
Contributor

@byrnedj byrnedj commented Apr 3, 2023

This PR is to add support for NUMA bindings to the memory tier config that was upstreamed in #138

A quick summary of the PR is:

  • Add memory tier configs to cache allocator based on NUMA bindings
  • Add in MemoryTier tests
  • Add getPoolSize() and inline the calculate tier size for tests
  • Increase max number of tiers to 2 for tiers tests

- Add in MemoryTier tests
- Increase max number of tiers to 2 for tiers tests
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 3, 2023
Comment on lines +1267 to +1268
if (cfgs.size())
config.configureMemoryTiers(cfgs);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit

if (cfgs.size()) {
      config.configureMemoryTiers(cfgs);
}

@facebook-github-bot
Copy link
Contributor

@therealgymmy has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@therealgymmy merged this pull request in b43ae59.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants