mirror of
https://github.com/Evolution-X-Devices/device_google_walleye
synced 2026-01-27 15:51:28 +00:00
Boottime: remove all block-related tunes including readahead size
With a request size fix, 2MB-sized readahead would not be a way to gain
boottime.
taimen - PVT - Hynix 128GB - boot_complete timestamp (avg of 100 loop)
Base [1] : 10.943
New [2] : 10.7495
taimen - PVT - Hynix 128GB - boot_complete timestamp + fastboot -w (avg of 100 loop)
Base [1] : 32.5857
New [2] : 31.7474
[1] w/o this CL, revert commit 7c37954411e9 ("mm: readahead back to 128KB")
[2] w/ this CL, keep commit 7c37954411e9 ("mm: readahead back to 128KB")
Bug: 122246531
Bug: 120757803
Change-Id: I2c3236b0b0cd4f2a8610a1af64de694f8a4d7997
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
@@ -1,21 +1,3 @@
|
||||
on late-fs
|
||||
# boot time fs tune
|
||||
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/dm-0/queue/read_ahead_kb 2048
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 2048
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# end boot time fs tune
|
||||
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/dm-0/queue/read_ahead_kb 128
|
||||
write /sys/block/dm-1/queue/read_ahead_kb 128
|
||||
|
||||
on property:sys.boot_completed=1 && property:ro.build.type=user
|
||||
write /proc/sys/kernel/modules_disabled 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user