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

Inconsistent results for throughput and latency profiling #104

Open
adarshyoga opened this issue Mar 20, 2019 · 1 comment
Open

Inconsistent results for throughput and latency profiling #104

adarshyoga opened this issue Mar 20, 2019 · 1 comment
Labels
bug This is a bug

Comments

@adarshyoga
Copy link

adarshyoga commented Mar 20, 2019

While experimenting with a simple Intel TBB program (that checks for prime numbers in parallel) I noticed a difference in the projected speedup of the program while profiling for throughout and latency. While profiling for throughput, I placed a progress point at the end of a loop. The profile highlights a line in the program and projects an almost linear increase in speedup (see attached screenshot). But while profiling for latency, I placed progress points at the beginning and the end of loop. Coz highlights the same line as the throughput profile, but shows a decrease in the projected program speedup. In the attached screenshot, primes1 refers to the progress points for latency and detect_primes_tasks.cpp:53 refers to the progress point for throughput.

I expected both the latency and the throughput to increase since the highlighted link is within a region which is indeed the bottleneck in the program. Any idea on why I would be seeing different results? I have attached the TBB program (as a text file) that I used for testing.
Screen Shot 2019-03-20 at 6 38 41 PM
detect_primes_tasks.txt

@ccurtsinger ccurtsinger added the bug This is a bug label Oct 8, 2019
@thegrb93
Copy link

Possibly explained by https://youtu.be/koTf7u0v41o?t=2724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug
Projects
None yet
Development

No branches or pull requests

3 participants