-
Notifications
You must be signed in to change notification settings - Fork 337
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
toplev: Info_Bottlenecks reports negative Scaled_Slots on SKX #488
Comments
There are at least two problems with this test workload & recent toplev:
Here is a reproducer. First line is the command to run inside perf-tools folder, followed by its output on ICX. The first run with trunk pmu-tools and --no-multiplex shows no negative bottlenecks. Actual toplev command kept for reference.
This is the failure by default using pmu-tools at 4.6 release point.
perf-tools flags the zero counts & suggests to run longer or use no-multiplex. |
But even with multiplex issues shouldn't the formula guard against bad values? These are not uncommon. I have a open bug on detecting too short run time for multiplexing in toplev |
Also I'm surprised that 1s is not enough anymore to get through all the groups. It must have really grown a lot. |
1s is too short. There are around a couple dozen groups for the full tree with current toplev each group get sample <5% of time. |
e.g. on SKL
./toplev --metrics -l3 -q ./workloads/GITGREP 2>&1 | grep Bottleneck
C0-T0 Info.Bottleneck Mispredictions Scaled_Slots -1.85 [ 1.0%]
C0-T0 Info.Bottleneck Irregular_Overhead Scaled_Slots -7.60 [ 1.0%]
...
Interestingly it goes away with --single-thread so it might be a SMT issue?
The text was updated successfully, but these errors were encountered: