73becf7452
-Switch to LZ4 for better overall performance -Set max_comp_streams to num of cores since upstream also moves this to percpu. -Set page-cluster to 0 as the incremental cost of reading 1 page at a time is negligible for zram Bug: 38249616 Test: boot and run zram-perf showing better performance Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
5 lines
357 B
Plaintext
5 lines
357 B
Plaintext
# Android fstab file.
|
|
|
|
#<src> <mnt_point> <type> <mnt_flags and options> <fs_mgr_flags>
|
|
/dev/block/zram0 none swap defaults zramsize=1073741824,max_comp_streams=8
|