-
Notifications
You must be signed in to change notification settings - Fork 115
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
mmtests update #469
Open
manul7
wants to merge
24
commits into
Linaro:master
Choose a base branch
from
manul7:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
mmtests update #469
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
manul7
force-pushed
the
master
branch
6 times, most recently
from
October 12, 2023 15:00
7095805
to
fe2b2af
Compare
patch 77113cf ("mmtests.yml: parameters update") has multple changes that can be splitted up into multiple commits maybe or? |
Sure, np. Done |
manul7
force-pushed
the
master
branch
2 times, most recently
from
October 13, 2023 13:41
5ed0be3
to
cbbcbfd
Compare
roxell
reviewed
Oct 17, 2023
manul7
force-pushed
the
master
branch
2 times, most recently
from
October 17, 2023 11:52
a24ed3d
to
a8d9917
Compare
roxell
reviewed
Oct 19, 2023
manul7
force-pushed
the
master
branch
9 times, most recently
from
October 21, 2023 20:16
0b2bf52
to
ea25796
Compare
manul7
force-pushed
the
master
branch
2 times, most recently
from
October 26, 2023 15:21
cf4e098
to
38bcda8
Compare
roxell
approved these changes
Aug 2, 2024
manul7
force-pushed
the
master
branch
2 times, most recently
from
November 7, 2024 11:45
fc543d9
to
0d587c3
Compare
Removed all parts related to results extraction and processing. Signed-off-by: Konstantin Belov <[email protected]>
Moved parameters set up logic after script arguments processing. This allows to calculate required parameters according arguments. Added default values to parameters. Signed-off-by: Konstantin Belov <[email protected]>
Moved MMTest Perl dependencies installation into separate function. This allows to control these deps independently from system packages Signed-off-by: Konstantin Belov <[email protected]>
Signed-off-by: Konstantin Belov <[email protected]>
Refactored function sets MMTEST_ITERATIONS, disables packages installation before benchmarking procedure, increases priority. Signed-off-by: Konstantin Belov <[email protected]>
Now operations, which required only while preparation are grouped under installation branch and can be skipped if system has all dependencies and binaries. Signed-off-by: Konstantin Belov <[email protected]>
Signed-off-by: Konstantin Belov <[email protected]>
Now, by default MMTests results remain untouched after test run. To collect results and system information, use -k option. Added helper script collect.py, which collects system information, environment variables, extracts results from raw MMTests results. Extracted and collected information stored in output directory in JSON format. If needed full archive with raw MMTests results can be created with -f option. Signed-off-by: Konstantin Belov <[email protected]>
Test definition was updated to accommodate recent changes in mmtests.sh. Signed-off-by: Konstantin Belov <[email protected]>
Signed-off-by: Konstantin Belov <[email protected]>
Signed-off-by: Konstantin Belov <[email protected]>
Added SHA256 collection for kernel binary Refactored kernel info func Signed-off-by: Konstantin Belov <[email protected]>
Added cloud instance type collection Signed-off-by: Konstantin Belov <[email protected]>
Added benchmark's archive SHA256 collection Signed-off-by: Konstantin Belov <[email protected]>
Packages list simplified Signed-off-by: Konstantin Belov <[email protected]>
Removed explicit 'set +x' command to reduce output. Signed-off-by: Konstantin Belov <[email protected]>
Added new argument -m to control monitors function while benchmarking. Signed-off-by: Konstantin Belov <[email protected]>
Added new argument -w to control output dir location. Signed-off-by: Konstantin Belov <[email protected]>
Added additional check for config presence Added clearer log messages Signed-off-by: Konstantin Belov <[email protected]>
Added tasksel call for benchmark launch to bind benchmark to single cpu. This allows to reduce variance of the results. Signed-off-by: Konstantin Belov <[email protected]>
Added monitors control in test definition file Signed-off-by: Konstantin Belov <[email protected]>
New implementation is more robust and covers s, ms, us Signed-off-by: Konstantin Belov <[email protected]>
Switched results collector to standard logging Improved missing not critical files handling Signed-off-by: Konstantin Belov <[email protected]>
Sometimes benchmarks used in MMTests require configuration tweaks. This can be done with manual config file edits or can be done with override feature, which takes a string in format "KEY1=VAL1;KEY2=VAL2;..." and replaces values for required keys automatically. Usually such tweaks are required to control the number of iterations and execution time on benchmark level, not on MMTests level (with MMTEST_ITERATIONS). For example, for aim9 benchmark user can specify "AIM9_TESTTIME=5;AIM9_TESTLIST=page_test" to reduce test time and use only one test instead of all. Signed-off-by: Konstantin Belov <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've updated shell script for launching mmtests as well as YAML config. New version gets multiple fixes and new option to control mmtest execution.
Tests
Actions
./mmtests.sh -p /mmtests -c configs/config-db-sqlite-insert-small -r 3 -i 1 -s
Expected result
Actions
./mmtests.sh -p /mmtests -c configs/config-db-sqlite-insert-small -r 3 -i 1
Expected results
/mmtests
/mmtests/output
Actions
./mmtests.sh -p /mmtests -c configs/config-db-sqlite-insert-small -r 3 -i 3 -s
Expected results
/mmtests/output
/mmtests/work/log/config-db-sqlite-insert-small/