Skip to content
This repository has been archived by the owner on Mar 17, 2019. It is now read-only.

Commit

Permalink
anykernel: Tune the sda block device
Browse files Browse the repository at this point in the history
Change-Id: If745015fd0ad81be728e31a8643cee13fa5432d5
Signed-off-by: Harsh Shandilya <[email protected]>
  • Loading branch information
msfjarvis committed Sep 26, 2017
1 parent c4eb1a3 commit 9be157d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions AnyKernel2/ramdisk/init.caesium.rc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ write /sys/module/msm_thermal/parameters/core_limit_temp_degC 60
# GPU default pwrlevel.
write /sys/class/kgsl/kgsl-3d0/default_pwrlevel 7

# Tune the sda block
write /sys/block/sda/queue/read_ahead_kb 2048
write /sys/block/sda/queue/iosched/back_seek_penalty 4
write /sys/block/sda/queue/iosched/low_latency 0
write /sys/block/sda/queue/iosched/target_latency_us 300

# Balance (default profile)
on property:persist.spectrum.profile=0
write /sys/module/msm_performance/parameters/cpu_min_freq '0:307200 1:307200'
Expand Down

0 comments on commit 9be157d

Please sign in to comment.