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

Benchmarks: micro benchmarks - add general CPU bandwidth and latency benchmark #662

Merged
merged 37 commits into from
Nov 20, 2024

Conversation

polarG
Copy link
Contributor

@polarG polarG commented Nov 12, 2024

Description
Add micro benchmark to measure general CPU bandwidth and latency without 'mlc'.

Test output:

{
"cpu-memory-bw-latency/return_code": 0,
"cpu-memory-bw-latency/mem_bandwidth_matrix_numa_0_1_bw": 5388.75021,
"cpu-memory-bw-latency/mem_bandwidth_matrix_numa_0_1_lat": 0.185571786,
"cpu-memory-bw-latency/mem_bandwidth_matrix_numa_1_0_bw": 4634.82028,
"cpu-memory-bw-latency/mem_bandwidth_matrix_numa_1_0_lat": 0.215758096,
}

@polarG polarG requested a review from a team as a code owner November 12, 2024 23:31
@polarG polarG added benchmarks SuperBench Benchmarks micro-benchmarks Micro Benchmark Test for SuperBench Benchmarks labels Nov 13, 2024
Copy link
Contributor

@dpower4 dpower4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

codecov bot commented Nov 16, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 11 lines in your changes missing coverage. Please review.

Project coverage is 85.68%. Comparing base (a8a7bed) to head (b5f634c).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...ro_benchmarks/cpu_memory_bw_latency_performance.py 66.66% 11 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #662      +/-   ##
==========================================
- Coverage   85.77%   85.68%   -0.09%     
==========================================
  Files          97       97              
  Lines        6925     6952      +27     
==========================================
+ Hits         5940     5957      +17     
- Misses        985      995      +10     
Flag Coverage Δ
cpu-python3.6-unit-test 71.55% <66.66%> (-0.04%) ⬇️
cpu-python3.7-unit-test 71.55% <66.66%> (-0.04%) ⬇️
cpu-python3.8-unit-test 71.58% <65.62%> (-0.04%) ⬇️
cuda-unit-test 83.77% <66.66%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@abuccts abuccts enabled auto-merge (squash) November 20, 2024 01:24
@abuccts abuccts merged commit 9c35e80 into microsoft:main Nov 20, 2024
18 of 20 checks passed
@polarG polarG deleted the microbench/cpu_bw_general branch November 21, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benchmarks SuperBench Benchmarks micro-benchmarks Micro Benchmark Test for SuperBench Benchmarks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants