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

性能数据中如果Bad_Speculation占比超过20%,超过TMA 1%-5%较多,是否定义为性能瓶颈?Bad_Speculation占比较高一般是什么导致的呢,求解答 #15

Open
hayyaw opened this issue Sep 20, 2023 · 1 comment

Comments

@hayyaw
Copy link

hayyaw commented Sep 20, 2023

No description provided.

@youzhedian
Copy link
Collaborator

一般只认为当前性能数据中TMA占比最高的为性能瓶颈,贪心地降低占比最高的那一项。
如果是Bad_Speculation占比高,可以考虑减少分支判断,减少分支预测失败,过程中可以观察Metric_BR_Mispred_Ratio的数值是否能按预期下降

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

No branches or pull requests

2 participants