Revert "Revert "davinci: rootdir: Import coral fs tuning""

This reverts commit bbe34cefca.

Change-Id: If98a6d1d2db3457555ac0908fe1d048ab84c830e
This commit is contained in:
Arian 2021-03-30 01:49:24 +02:00
parent 506cf92d7a
commit 69b52a2a9a
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -41,6 +41,18 @@ on init
chown cameraserver cameraserver /dev/cpuset/camera-daemon/tasks
chmod 0660 /dev/cpuset/camera-daemon/tasks
# 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
on fs
mount_all --early
@ -77,6 +89,14 @@ on property:sys.boot_completed=1
# Enable ZRAM on boot_complete
swapon_all /vendor/etc/fstab.qcom
# 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
service vendor.pd_mapper /vendor/bin/pd-mapper
class core
user system