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

Implementing BDN Perf pipeline #758

Merged
merged 62 commits into from
Dec 11, 2024
Merged

Implementing BDN Perf pipeline #758

merged 62 commits into from
Dec 11, 2024

Conversation

darrenge
Copy link
Contributor

There are three areas of this PR:

  1. run_bdnperftest.ps1
    a) Runs individual bdn test based on the associated config file (in /config) directory
    b) Compares "allocated" value found from the run to the expected value in config file and if it more than 10% from expected, it will pop a fail
  2. yml file for Garnet CI BDN.benchmark Github action
    a) Goes through the matrix of Linux, WIndows and runs each BDN test on those two (total of 10 runs)
    b) Each run saves results file and error log to GH Actions artifacts (for debugging if needed)
    c) Each run takes the BDN results (from the ps1 file run) and compares MEAN to previous and if changes by 50% or more (represented as 150% in yml file) then it will comment in commit
    d) Each run has task that adds to the "Summary" part of the GH Action run (table that shows previous run to current run)
    e) Each run adds to charts (data is stored in continuousbenchmarking branch in the website/static/charts folder of that branch)
  3. Config files each has:
    a) Name of BDN filter it is running
    b) Expected "ground truth" for Allocated values
    b) Acceptable range % for allocated ("acceptableAllocatedRange": 10) before flags a fail

…king. Also, a fix in ClusterBench for and renamed Lua Runner benchmarking
…ntinuous benchmarking and also changed to where script is only checking allocated values and let github-action-benchmark compare mean values
@TalZaccai TalZaccai self-requested a review October 31, 2024 21:13
have shorter names for values
not have configuration or framework (moved to ps1 file)
not have windows / linux differnce in expected
Moved acceptable allocated range to script

modified the script:
to only load values for the specific test instead of looking for all values
changes to match the changes in config (shorter names, etc)
…es not need to be updated when new BDNs are added.
@darrenge
Copy link
Contributor Author

darrenge commented Dec 2, 2024

This was a sizable push so code review again. Also - might want to NOT merge yet as I am looking at the feature where BDN Benchmark compares to a specific commit instead of previous commit

…s we can raise it back. Also, removed darrenge from the alert CC line as no need for that.
…l will get summary data in the specific workflow run and still uploads data to charts (when pushing to main).
@darrenge darrenge merged commit dd76624 into main Dec 11, 2024
18 checks passed
@darrenge darrenge deleted the darrenge/BDNPerf branch December 11, 2024 19:29
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

Successfully merging this pull request may close these issues.

2 participants