commit | fdcaf6eab0dd9c196b0656722c9f8b06095ae5c4 | [log] [tgz] |
---|---|---|
author | Stefan Bossbaly <stefanbossbaly@google.com> | Wed Aug 31 21:06:18 2022 +0000 |
committer | releases-try-builder <releases-try-builder@fuchsia-infra.iam.gserviceaccount.com> | Thu Sep 01 16:56:16 2022 +0000 |
tree | 10cee6a834ae4e07640c3a1d8caf9a643ba09888 | |
parent | 5a2afebda44874108dde8babd865c7d97471d11d [diff] |
[amlogic] Fixing slow resource initialization At steady state the stream_control_thread doesn't need much CPU time. However when doing resource initialization or destruction the thread finds itself exceeding it's deadline causing the thread to context switch repeatedly which yields low throughput. To solve this when doing computational complex operations we use a resource thread which doesn't have the same restrictive deadline parameters as the stream_control_thread. However since stream operations are assumed to be synchronous the stream_control_thread will block on the completion of those operations. Bug: 103225 Bug: b/235629262 Change-Id: I8f9b67917f60813d241374f4ec3af51f28afbfab Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/695362 Reviewed-by: John Bauman <jbauman@google.com> Commit-Queue: Stefan Bossbaly <stefanbossbaly@google.com> (cherry picked from commit f128fe46048f2b4db01d9e379faf02b8ba3c0459)
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.