davinci: rootdir: Import coral fs tuning

Change-Id: I3aff3f65a20a82fb7a29ea940597a45ec8e02727
This commit is contained in:
Demon000 2020-03-28 12:15:48 +01:00 committed by Arian
parent 7acc933f7d
commit 867af09b6b
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -33,6 +33,18 @@ on init
write /sys/module/qpnp_rtc/parameters/poweron_alarm 1
# Boot time fs tuning
write /sys/block/sda/queue/iostats 0
write /sys/block/sda/queue/scheduler cfq
write /sys/block/sda/queue/iosched/slice_idle 0
write /sys/block/sda/queue/read_ahead_kb 2048
write /sys/block/sda/queue/nr_requests 256
write /sys/block/sde/queue/iostats 0
write /sys/block/sde/queue/scheduler cfq
write /sys/block/sde/queue/iosched/slice_idle 0
write /sys/block/sde/queue/read_ahead_kb 2048
write /sys/block/sde/queue/nr_requests 256
# Add a cpuset for the camera daemon
mkdir /dev/cpuset/camera-daemon
write /dev/cpuset/camera-daemon/cpus 0-7
@ -68,6 +80,14 @@ on boot
chown system system /sys/class/thermal/thermal_message/sconfig
on property:sys.boot_completed=1
# Runtime fs tuning
write /sys/block/sda/queue/read_ahead_kb 128
write /sys/block/sda/queue/nr_requests 128
write /sys/block/sda/queue/iostats 1
write /sys/block/sde/queue/read_ahead_kb 128
write /sys/block/sde/queue/nr_requests 128
write /sys/block/sde/queue/iostats 1
# First setup runtime cpusets only for silver cpus
write /dev/cpuset/top-app/cpus 0-3
write /dev/cpuset/foreground/cpus 0-3