init.storage.rc: Set rq_affinity to 2
When rq_affinity is 1, it will default to servicing the softirq on the same CPU that has serviced the interrupt. By setting it to 2, completions are processed by the CPU core that submitted the I/O. Bug: 311655524 Signed-off-by: Qais Yousef <qyousef@google.com> Change-Id: I21421f97f069083793fe2e2fa51739dac12eca1d
This commit is contained in:
parent
d3a9a07020
commit
bebef42dbd
@ -10,6 +10,7 @@ on default_storage_mode
|
||||
# Block
|
||||
write /dev/sys/block/by-name/rootdisk/queue/iostats 1
|
||||
write /dev/sys/block/by-name/rootdisk/queue/nr_requests 128
|
||||
write /dev/sys/block/by-name/rootdisk/queue/rq_affinity 2
|
||||
|
||||
# UFS
|
||||
write /dev/sys/block/bootdevice/clkgate_enable 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user