-
Notifications
You must be signed in to change notification settings - Fork 35
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
Add scalability tests #2239
base: main
Are you sure you want to change the base?
Add scalability tests #2239
Conversation
@d-uzlov Could you look into pure Go plotting alternatives to gnuplot? I'd like to have a pure Go solution here, so we don't start the accumulation of new commands things for our tests... |
@edwarnicke sure. I'll have to research it, but from what I see there are plenty of golang frameworks for plotting, so it shouldn't be hard to draw something nice from Go. |
@edwarnicke We have several options for plot drawing to choose from. The last one got me thinking. It would be most easy to transfer what I already have to to For example, The gnuplot dependency is not that uncommon. Using gnuplot is the first solution that you could find in google for drawing charts. So, would, for example |
@d-uzlov On |
@edwarnicke Also, another question on dependencies. Please, consider this just as my curiosity, for the sake of choosing dependencies in the future.
|
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
This seems like a good potential solution to the problem. |
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Marking this as draft until I solve issues with measuring time on remote clusters with high connection delay. |
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
I believe that generally this PR is ready. However, this issue makes troubles: Scalability tests should work regardless, but until CPU issue if fixed, the results will be pretty ugly. |
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
EVENT_TEXT_CONNECTIONS_1_READY="Conns 1 ready" | ||
``` | ||
```bash | ||
sleep 15 |
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.
Why do we need these sleeps?
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.
When I added sleeps into tests, my main intent was to capture performance after different phases of the test. For example, to make sure, that when we capture that request/heal finishes, it no longer consumes CPU.
Signed-off-by: Danil Uzlov <[email protected]>
Signed-off-by: Danil Uzlov <[email protected]>
Issue
#1015
Requirements
These tests use few programs that may be not present in your environment:
gnuplotusing container for this instead of direct installationstyx
Also, these tests depend on icmp-responder having support for multiple network services: networkservicemesh/cmd-nse-icmp-responder#246merged.How to run
There is one 4 scenarios with configurable parameters.
It's possible to create several tests, one for each set of parameters, but since parameters are arbitrary, it would be inconvenient to have 4×M×N×K×R×Q test setups, so it's probably better to use one setup and set the params before running it.