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

what is the max scale supported by BMv2? #582

Closed
mgheorghe opened this issue Jun 3, 2024 · 2 comments
Closed

what is the max scale supported by BMv2? #582

mgheorghe opened this issue Jun 3, 2024 · 2 comments

Comments

@mgheorghe
Copy link
Collaborator

mgheorghe commented Jun 3, 2024

i thought BMv2 is a software solution and there is a limitation only on the memory amount i have in my PC

but when trying to load 240K mappings i got

Error when trying to add entry to table 'dash_ingress.outbound.outbound_mapping_stage.ca_to_pa': TABLE_FULL

it loaded ~1000 mapping or so before it failed

@r12f
Copy link
Collaborator

r12f commented Jun 4, 2024

Hi Mircea, yea, although BMv2 is a software implementation, but it is not designed for handling large scale of objects or traffic. By default the table size in BMv2 is set to 1024. This limit can be found in the bmv2 backend in p4c repo.

Here is the screenshot of the key code, for your convenience:

image

@mgheorghe
Copy link
Collaborator Author

see also #644

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