Commit Graph

6 Commits

Author SHA1 Message Date
Bart Van Assche
a818ff9401 Migrate I/O scheduler parameters to task_profiles.json
This patch preserves the CFQ I/O scheduler parameters:
* Foreground blkio.weight     (CfqWeight)    1000
* Foreground blkio.group_idle (CfqGroupIdle) 2000
* Background blkio.weight     (CfqWeight)     200
* Background blkio.group_idle (CfqGroupIdle)    0

This patch prepares for migration of the blkio controller to the v2
cgroup hierarchy.

Bug: 213617178
Change-Id: Ieddbe3abc53c5911252a369aa0aaa7fcb602fd07
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2022-09-13 13:55:03 -07:00
Bart Van Assche
fa1042a248 Revert "Migrate the blkio controller to the cgroup v2 hierarchy"
Revert "Migrate the blkio controller to the cgroup v2 hierarchy"

Revert "Migrate the blkio controller to the cgroup v2 hierarchy"

Revert submission 1962326-blkio-cgroup-v2

Reason for revert: This set of changes is suspected to have caused a redfin boot time regression for the git_tm-dev branch.

Reverted Changes:
Id18d876b6:Migrate the blkio controller to the cgroup v2 hier...
I7dfa52136:Migrate the blkio controller to the v2 cgroup hier...
I5336167be:Migrate the blkio controller to the cgroup v2 hier...
I3f0131d8f:Migrate the blkio controller to the cgroup v2 hier...
Ibb62b2d4d:Migrate the blkio controller to the cgroup v2 hier...

Bug: 227382327
Change-Id: I542bd751fed27fcd9536f0f4f168983091549986
2022-03-30 14:46:57 +00:00
Bart Van Assche
a880ce7955 Migrate the blkio controller to the cgroup v2 hierarchy
Remove the statements from init.hardware.rc that refer to /dev/blkio
since that path is only valid for the v1 cgroup hierarchy. Move the
device settings into task_profiles.json.

Bug: 213617178
Test: Untested.
Change-Id: I3f0131d8f13245c616744b4e3063f35e2a5a3afb
Signed-off-by: Bart Van Assche <bvanassche@google.com>
2022-03-10 18:52:08 +00:00
Suren Baghdasaryan
96092711b2 Revert "redbull: Add vendor libprocessgroup json file"
This reverts commit 185c6d379d.

Reason for revert: <with per-API profiles support no need for vendor overrides>

Change-Id: Ie31bbfe1efdcc33fd49aae7f7f824da8326b4878
Merged-In: Ie31bbfe1efdcc33fd49aae7f7f824da8326b4878
2020-11-23 19:54:02 +00:00
Rick Yiu
185c6d379d redbull: Add vendor libprocessgroup json file
While schedtune is removed from AOSP libprocessgroup json files, we
need to add it back through vendor json files.

Bug: 170507876
Test: schedtune works
Change-Id: I05a73c0af3e20cc57283abe60cbc8038fd0c724a
Merged-In: I05a73c0af3e20cc57283abe60cbc8038fd0c724a
2020-11-04 08:45:37 +00:00
Rick Yiu
a19b8105aa redbull: create a new group for camera dedicated threads
Created a new group for for camera dedicated threads, and let
power hint change the cpuset according to use cases.

Bug: 157122808
Test: group created as expected
Change-Id: I929a7b73bb1a6e58b68932822f9eb0615ff1624b
2020-06-23 04:24:35 +00:00