commit | 0f818785838dd3ddeedc49e2be0125eca3f6eaa2 | [log] [tgz] |
---|---|---|
author | Jiaming Li <lijiaming@fuchsia.infra.roller.google.com> | Thu Apr 17 11:29:26 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Thu Apr 17 11:31:04 2025 -0700 |
tree | 8dc375f0cec013959bc11190d0dc5d47027199f0 | |
parent | e6cde52c8392bdf2f7de67dd9a03beb314759a63 [diff] |
[roll] Roll fuchsia [ffx][flash] Improve flashing speed We used to use a buffer which is 4KB, this is proven to be a bottleneck of flashing performance. Now we change it to read file into a 50MB buffer, and let the TCPStream to handle the chunking. From local testing, the chunk sizes is about 1.6MB on average. From local testing with pontis, this decrease the flashing time of large image from 279 seconds to 75 seconds. Also we noticed the set_active call can fail on sorrel, we change it to be best effort and log a warning when fail. Also added a 3 seconds timeout on set_active call, as this call is not computationally expensive and should response pretty fast when succeed. Original-Bug: 409544982 Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1252985 Original-Revision: 84b8c6436fb0c9b5e16ddcedcbc38af413fc59f8 GitOrigin-RevId: 77a6b7444266b11266f3b75887f809041efe6a71 Change-Id: I691f00f667fcf6e613c406e2df68b3526242c3c6
This repository contains Fuchsia's Global Integration manifest files.
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 in one of the communication channels documented at get involved.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.