-
Notifications
You must be signed in to change notification settings - Fork 93
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
baby hero test scale #586
base: main
Are you sure you want to change the base?
baby hero test scale #586
Conversation
* path fix we need to go in dash folder first * baby hero * Update test_sai_baby_hero_traffic.py * Update test_sai_baby_hero.py * dpugen update to 2.2.0 * removed dev test file * revert file so container update does not trigger * remove some logging
Is this supposed to run in CI? I see the runtime in CI is just a few minutes. |
here i see no test was run right before submit in my branch https://github.com/mgheorghe/DASH/pull/6/checks |
hi Mircea, these tests are huge, so are they generated? I am very worried about how to maintain them when things are changed. |
Hi Mircea, I really appreciate the effort of adding the tests. However, I think a more proper place of adding this test is actually in sonic-mgmt repo. There are a few reasons:
To summarize, I would recommend:
|
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.
Requesting changes. Please see my comment above.
the test is focused on scale not performance, i have it set to 1 pps, goal was to exercise 32ENI's each with 10NSG's each with 1000 ACLs..... scale should be just a function of memory available.
i'll contribute them there too but, the sonic-mgmt repo will get the dash config version while BMv2 gets the SAI version of the config.
i see the image is also based on BMv2 so all the issues i encountered with BMv2 will be there too + some more from all the sonic layers. https://github.com/sonic-net/SONiC/blob/master/images/dash/bmv2-virtual-sonic.svg my conclusion is that i would like to add tests in both repos, i'll keep this one here and add a dash one in sonic-mgmt (it will require more work since i would like to make a proposal for an OTG virtual testbed for sonic-mgmt, maybe even adding TCP traffic) |
generated and that 100M config file was supposed to be generated on the fly in memory at runtime, but i ran into an issue with #584 so i had to dump the config here till that issue is resolved. |
Issue is open in SAI Challenger, version of Debian is too old, container fails to build, etc... but we need a fix upstream |
Test SAI Baby Hero.
Baby Hero test scale is 1% of the Hero test scale.
This is achieved by having only one prefix per ACL instead of 100 prefixes per ACL.
had to increase the BMv2 scale numbers to 8M and 4M from default 1K for mapping and routing tables
scale:
run time:
- configure BMv2: 15 min
- run traffic: 3 min
- clear config: 6 min
TO DO: