summaryrefslogtreecommitdiff
path: root/libutils/Threads.cpp
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@google.com>2021-08-06 10:21:12 -0700
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-08-19 02:38:14 +0000
commit3a9c1794385ae80c7835a8ec496f4a2efdf4de76 (patch)
tree1ec6f709a67dfd9ec250347d96b262cf1a943861 /libutils/Threads.cpp
parent0b73cdcb3837e1e4e7f4fda67ab7fbaa0be1875c (diff)
Reduce the queue depth of loop devices used by the zram driver
Make the queue depth of loop devices identical to that of the underlying storage device. This patch reduces latency by lowering the queue depth. With this patch applied I see the following: # cat /sys/block/loop30/queue/nr_requests 32 Bug: 194450129 Test: Built Android images, installed these and verified that the queue depth of loop devices is 32 instead of 256. Merged-In: Ifa16084c7df3a54d9559c2388abc4a8392ff88c6 Change-Id: Icc89e1f88d2f0ade2805999afef556b15b7ff8eb Ignore-AOSP-First: Already in AOSP. Signed-off-by: Bart Van Assche <bvanassche@google.com> (cherry picked from commit 1a9cad816de296b3f5ee026869cab4413ec7527c)
Diffstat (limited to 'libutils/Threads.cpp')
0 files changed, 0 insertions, 0 deletions