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

Widen CPU affinity set. #53136

Merged
merged 2 commits into from
Jun 3, 2024
Merged

Conversation

jonahwilliams
Copy link
Member

@jonahwilliams jonahwilliams commented May 31, 2024

For devices with 1 fast core, the current affinity set is less idea because it forces UI and raster on the same thread. Widen this to exclude slow cores instead of including only the fast core.

@jonahwilliams jonahwilliams marked this pull request as ready for review June 3, 2024 17:31
@zanderso
Copy link
Member

zanderso commented Jun 3, 2024

What sorts of device(s) did you see this problem on?

@jonahwilliams
Copy link
Member Author

I don't have a specific model, just feedback from the Android team.

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Jun 3, 2024
@auto-submit auto-submit bot merged commit 926b292 into flutter:main Jun 3, 2024
31 checks passed
@jonahwilliams jonahwilliams deleted the weaken_affinity branch June 3, 2024 21:50
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 3, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jun 4, 2024
…149627)

flutter/engine@60a7bb2...a6aa5d8

2024-06-03 [email protected] Roll Dart SDK from 53c41325c29f to 49b5590c8d80 (4 revisions) (flutter/engine#53181)
2024-06-03 [email protected] Widen CPU affinity set. (flutter/engine#53136)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
jonahwilliams added a commit that referenced this pull request Jun 7, 2024
auto-submit bot pushed a commit that referenced this pull request Jun 7, 2024
Reverts #53136

b/345642546 shows some massive performance regressions on this patch. i'll rework it so the conditions are only loosened on phones with one fast core.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App platform-android
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants