OSDN Git Service

Bluetooth HAL: Add to foreground schedtune group
authorJoel Fernandes <joelaf@google.com>
Tue, 4 Apr 2017 02:19:30 +0000 (19:19 -0700)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 5 Apr 2017 00:37:43 +0000 (17:37 -0700)
commit1b8f6f7c771a7ff04790833674705972009a3c7d
tree9cab2e9c40cb8625026af172fb7aebe011a793c1
parent945fbf84347a7b2446d58d6e87c68110765c1462
Bluetooth HAL: Add to foreground schedtune group

EAS (Energy-Aware Scheduler) tends to cluster tasks together unless
they're marked to prefer an idle CPU (prefer-idle) during placement.
This is to save energy however it increases latencies. This is
noticeable when the Binder driver demotes the RT task to CFS and when
we try to do load balance in this path, the selection path still selects
a busy CPU. Add Bluetooth HAL service to the foreground schedtune group
to fix this as its critical for tasks like bluetooth audio playback.

Test: Boot and verify bluetooth HAL is in the foreground stune group
Bug: 36867985

Change-Id: Ib3c43cca4a2049af3700978b58a05989cc20b6ac
Signed-off-by: Joel Fernandes <joelaf@google.com>
bluetooth/1.0/default/android.hardware.bluetooth@1.0-service.rc