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

[Impeller] remove image upload from IO thread, limit concurrent worker threads. #52423

Merged
merged 3 commits into from
Apr 28, 2024

Conversation

jonahwilliams
Copy link
Member

Fixes flutter/flutter#123058
Fixes flutter/flutter#135443

We're currently using the IO thread to bottleneck image uploads. Instead, just use fewer concurrent worker threads - and cap the limit at something small. For a Pixel device, this should use about 2 threads maximum, instead of 5 (4 worker and 1 IO).

@flutter flutter deleted a comment from flutter-dashboard bot Apr 27, 2024
@jonahwilliams jonahwilliams changed the title [Impeller] remove IO thread, limit concurrent worker threads. [Impeller] remove image upload from IO thread, limit concurrent worker threads. Apr 27, 2024
@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Apr 28, 2024
@auto-submit auto-submit bot merged commit f4c20e9 into flutter:main Apr 28, 2024
34 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 28, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 28, 2024
…147495)

flutter/engine@752b146...f4c20e9

2024-04-28 [email protected] [Impeller] remove image upload from IO thread, limit concurrent worker threads. (flutter/engine#52423)
2024-04-28 [email protected] [Impeller] when creating new pipeline variant block on current thread, re-persist dirty pipeline cache. (flutter/engine#52375)

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
auto-submit bot added a commit to flutter/flutter that referenced this pull request Apr 29, 2024
…isions) (#147495)" (#147502)

Reverts: #147495
Initiated by: zanderso
Reason for reverting: Crash in framework CI https://ci.chromium.org/ui/p/flutter/builders/prod/Linux_pixel_7pro new_gallery_opengles_impeller__transition_perf/2417/overview
Original PR Author: engine-flutter-autoroll

Reviewed By: {fluttergithubbot}

This change reverts the following previous change:

flutter/engine@752b146...f4c20e9

2024-04-28 [email protected] [Impeller] remove image upload from IO thread, limit concurrent worker threads. (flutter/engine#52423)
2024-04-28 [email protected] [Impeller] when creating new pipeline variant block on current thread, re-persist dirty pipeline cache. (flutter/engine#52375)

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
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Apr 29, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Apr 29, 2024
…147532)

flutter/engine@752b146...399837d

2024-04-29 [email protected] Roll Skia from 27e872349963 to f7bfa8eef5b5 (1 revision) (flutter/engine#52436)
2024-04-29 [email protected] [Impeller] fix GLES image upload. (flutter/engine#52430)
2024-04-29 [email protected] Roll Skia from aeab79038011 to 27e872349963 (1 revision) (flutter/engine#52435)
2024-04-29 [email protected] Roll Skia from c720e2446926 to aeab79038011 (1 revision) (flutter/engine#52434)
2024-04-29 [email protected] Roll Skia from 1a5436d50954 to c720e2446926 (1 revision) (flutter/engine#52433)
2024-04-29 [email protected] Roll Fuchsia Linux SDK from bIUvi3y4gRFxMSKV3... to TFm2_qWC2xpkzk8QS... (flutter/engine#52432)
2024-04-29 [email protected] Roll Skia from e3dfcd1b25af to 1a5436d50954 (1 revision) (flutter/engine#52431)
2024-04-28 [email protected] Use a AT-SPI socket/plug to export the Flutter accessibility state. (flutter/engine#52355)
2024-04-28 [email protected] [Impeller] remove image upload from IO thread, limit concurrent worker threads. (flutter/engine#52423)
2024-04-28 [email protected] [Impeller] when creating new pipeline variant block on current thread, re-persist dirty pipeline cache. (flutter/engine#52375)

Also rolling transitive DEPS:
  fuchsia/sdk/core/linux-amd64 from bIUvi3y4gRFx to TFm2_qWC2xpk

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
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 e: impeller
Projects
None yet
2 participants