Skip to content
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

Make L1/L2 memory pool sizes self-configurable depending on physical memory available #1013

Open
wkozaczuk opened this issue Nov 12, 2018 · 0 comments

Comments

@wkozaczuk
Copy link
Collaborator

wkozaczuk commented Nov 12, 2018

Currently, both L1 (vCPU local) and L2 (global shared) memory pools operate based on low/high watermark logic in terms of allocating/freeing pages to satisfy memory allocation/freeing requests. For example, the low watermark for each L1 is 1/4 of the maximum number of pages which is a fixed number. This results in each L1 pool keeping at least 128 pages (512K) per CPU. This might be overkill for very tiny app deployments that do not need much memory.

Ideally, we could change this behavior by making L1 and L2 pool sizes (in pages) to be self-configurable and depend on physical memory available.

Please see for details and more discussion here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant