diff options
| author | 2021-07-13 16:08:28 -0700 | |
|---|---|---|
| committer | 2021-07-15 01:40:55 +0000 | |
| commit | e96a1f125b4b2130ce61d5e6dc665de928b190e6 (patch) | |
| tree | 63702c171dfbd7671ef573fc89e4c61678069222 /libs/gui/QueueBufferInputOutput.cpp | |
| parent | 7716e351eab610e41e454624937f8f1839aba027 (diff) | |
binder: Increase RPC backlog to 50.
Right now, we create all threads at once, making accept4 slow.
To avoid hanging the client, the backlog is increased to a large number.
Once we create threads dynamically & lazily, the backlog can be reduced
to 1.
In an experiment, `time aservice list` reduces from 4 minutes to 30
seconds, a 8x boost.
Bug: 189955605
Bug: 190868305
Test: `time aservice list` is significantly faster
Change-Id: I4fa4d62149891ab62cbaf9f688bf798e4faf0189
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions