[roll] Roll fuchsia [fxblob] Image generation performance improvements

Offload IO and CPU-intensive work to a background thread instead of
blocking the async executor. This results in a significant speedup when
generating blob images, at the expense of higher memory utilization.

Limit number of threads to match that of the existing blobfs host tool
(the reported concurrency available to the program). Memory consumption
is slightly higher than the existing tool, but is reasonably limited
now.

Memory utilization of blob data in the existing tool is (threads *
largest_compressed * 2) bytes at most, whereas this tool requires
(threads * (largest_compressed + largest_uncompressed)) with this
change.

On the test system, image generation now takes < 20 seconds, versus > 60
seconds before this change.

Original-Bug: 124377
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/842521
Original-Revision: b78e4b8171897a0bfc81326c86c67fb0e8c32b2f
GitOrigin-RevId: fd69e325e5143fe327c188126a1619d08522f542
Change-Id: I1573d158d44fb818cb80893b8c20ad54171c3c53
1 file changed
tree: ecbec7fae445ab13b802f4a19843c4a7256af093
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.