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

How to estimate a number of huge pages required by libvma? #978

Closed
isliser opened this issue Jan 31, 2022 · 2 comments
Closed

How to estimate a number of huge pages required by libvma? #978

isliser opened this issue Jan 31, 2022 · 2 comments

Comments

@isliser
Copy link

isliser commented Jan 31, 2022

I'm going to start using libvma with huge pages enabled but it's not clear how to estimate memory requirements. Is there any described method or I should use empiric data?
Any suggestions are welcome!

@igor-ivanov
Copy link
Collaborator

Hello @isliser
Huge pages are used for internal rx /tx buffers mostly.
So you can estimate required memory as VMA_RX_BUFS * BUF_SIZE(MTU) + VMA_TX_BUFS * BUF_SIZE(MTU)

@isliser
Copy link
Author

isliser commented Feb 2, 2022

@igor-ivanov Спасибо!

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

2 participants