-
Notifications
You must be signed in to change notification settings - Fork 123
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
kernel/will-it-scale: Add scalability test #2774
kernel/will-it-scale: Add scalability test #2774
Conversation
~ avocado run will-it-scale.py -m will-it-scale.py.data/mmap1.yaml After the test completion .csv and .html files are created in the logdir [1-will-it-scale.py_WillItScaleTest.test_scaleitall_run-72bf]~ ls |
@sacsant can see scope to merge all yaml in single YAML as it will reduce maintenance effort |
single yaml with all test mux variants |
Depending on resources available on system, each test takes anywhere between 40min to a couple of hours. I don't think we should run the test against all option available as it will take maybe more than 24 hours. I can include a couple of sample YAML files and remove the remaining one. The README file has information about all possible tests. A user who wants to run a specific test can always create their own yaml's. Would that work? |
I have consolidated the YAML's into a single one using mux and have added a warning about long execution time. |
Test result |
kernel/will-it-scale.py
Outdated
./postprocess.py | ||
""" | ||
smm = SoftwareManager() | ||
pkgs = ['gcc', 'make', 'hwloc-devel'] |
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.
is hwloc-devel
package available on all distro , as i am locate this only in RHEL9.*/centos9 onward ? Please double-check and consider test case in other distro if test not supported or we can have other alternative of this package ,
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.
@sacsant thanks for addressing review comments, can you please look in this comment as well
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.
Ah, thanks for the reminder. I missed this one. I checked RHEL & Ubuntu and the package is available. SLES does not seem to have this package. I can add a check for distro versions but was wondering since the test gets cancelled anyway if the package is not available, should we add this extra code?
This patch adds a test to validate scalability aspect of kernel. Will It Scale takes a testcase and runs n parallel copies to see if the testcase will scale. This test is based on https://github.com/antonblanchard/will-it-scale The test includes yaml based input for each supported testcase. Signed-off-by: Sachin Sant <[email protected]>
Test run after review comments have been incorporated. (1/1) kernel/will-it-scale.py:WillItScaleTest.test_scaleitall: STARTED |
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.
LGTM
736d4f3
into
avocado-framework-tests:master
This patch adds a test to validate scalability aspect of kernel. Will It Scale
takes a testcase and runs n parallel copies to see if the testcase will scale.
This test is based on https://github.com/antonblanchard/will-it-scale
The test includes yaml based input for each supported testcase.
Signed-off-by: Sachin Sant [email protected]