Remove discard command tuning am: aeeeb8bf63
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/17227648 Change-Id: If6fc7832f1cf682685f6644cf53419f40a4d1791
This commit is contained in:
commit
2d71d68766
1 changed files with 0 additions and 4 deletions
|
@ -702,10 +702,6 @@ on property:sys.boot_completed=1
|
||||||
chown system system /dev/sys/fs/by-name/userdata/gc_segment_mode
|
chown system system /dev/sys/fs/by-name/userdata/gc_segment_mode
|
||||||
chown system system /dev/sys/fs/by-name/userdata/gc_reclaimed_segments
|
chown system system /dev/sys/fs/by-name/userdata/gc_reclaimed_segments
|
||||||
|
|
||||||
# Block layer tuning: discard chunk size up to 128MB
|
|
||||||
# Otherwise, contiguous discards can be merged
|
|
||||||
write /sys/block/sda/queue/discard_max_bytes 134217728
|
|
||||||
|
|
||||||
# Enable ZRAM on boot_complete
|
# Enable ZRAM on boot_complete
|
||||||
swapon_all /vendor/etc/fstab.${ro.board.platform}
|
swapon_all /vendor/etc/fstab.${ro.board.platform}
|
||||||
write /proc/sys/vm/swappiness 100
|
write /proc/sys/vm/swappiness 100
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue