-
Notifications
You must be signed in to change notification settings - Fork 74
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
Putting benchmark comparison in utils #474
Conversation
Can one of the admins verify this patch? |
70226db
to
2aa15ba
Compare
367ec1b
to
41e3338
Compare
This PR doesn't cover all workload types. I can completely take out the references to run-compare.sh file but I'm not familiar with the other workload types and might be good to do in separate PR, thoughts? |
4576e82
to
a97f5bd
Compare
@@ -0,0 +1,28 @@ | |||
{ |
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 are you adding this config?, norm_ops comparison is already covered by uperf-touchstone.json
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.
I didn't mean to add that there, I wanted to keep the uperf-touchstone.json file as is and add in other files that added in other data that used to be reported to help resolve: #428
I removed it now
fi | ||
} | ||
|
||
run_benchmark_comparison() { |
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.
The original logic from networking and router tests was different. This is adding the kube-burner's comparison which I think won't work
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.
I added a back up way to return the data in utils/csv_modifier.py that I think should cover this. I will run the old way and with my updated code and verify that the data is the same in the sheet.
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.
@rsevilla87 (or whoever else is going to review this PR) can you request access to these sheets and I'm only able to give access to everyone with the link which I'm not sure we want that.
I used the same UUID and generated both the below sheets
Old sheet: https://docs.google.com/spreadsheets/d/1Xv1LEJkwk9xnKifRTy7GbmBwNl6Wpkrb8lGRfBBVeq0/edit#gid=1904663657
New sheet (added more data points at bottom): https://docs.google.com/spreadsheets/d/1TAG5Fw4F7uppNgH6UsltwwI8G034CZ5zB2TFqgSF9Bg/edit#gid=2039516611
I used export COMPARISON_CONFIG="uperf-touchstone-stream.json uperf-touchstone-rr.json uperf-touchstone-norm.json" to generate this sheet
Any advice on how to order the data in the sheet. That's the one functionality I seem to lose
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.
Added environment variable to not sort by the end column value that was reordering the network-perf data
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.
ack, thanks
can you add the updated results sheet here if you have one
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.
9ba44f4
to
8d715e6
Compare
5cd2752
to
f36d8ab
Compare
Commenting for updates as I will have a followup PR after this, happy to review/help in any other way I can as well to get this in |
f36d8ab
to
99cf0e7
Compare
@mohit-sheth @rsevilla87 @jtaleric can you PTAL when you get a chance |
Comment from @mohit-sheth: now added bytes to be transformed into Mb used below to generate newest sheet export COMPARISON_CONFIG="uperf-touchstone-stream.json uperf-touchstone-rr.json uperf-touchstone-norm-ltcy.json uperf-touchstone-norm-ops.json" |
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, we can split the num_pairs in future PRs
@mohit-sheth can we merge? |
This also helps take care of data issues like the below
|
workloads/network-perf/common.sh
Outdated
|
||
openshift_login | ||
openshift_login |
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.
extra space at end of line can be removed.
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.
should be removed now
89dd3ff
to
25b1126
Compare
72c8232
to
8223a4f
Compare
@afcollins @rsevilla87 any comments left on this pr, can we get this merged? Thanks |
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
Description
Adding the ability to run the same benchmark_comparison functions for kube-burner, network-perf and router-perf all from the utils folder
With this I moved the touchstone-configs into the utils area so that they are reusable by the different workload types
Fixes
#395
#428