sanders: update zRAM flags
* use zstd compression algorithm * Enable ZRAM deduplication feature that helps in savings of memory by avoiding the duplication. Signed-off-by: utsavbalar1231 <utsavbalar1231@gmail.com> Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
committed by
ronaxdevil
parent
5f8964144b
commit
e1b9ef8199
@@ -42,7 +42,8 @@ on early-init
|
|||||||
chmod 0620 /dev/kmsg
|
chmod 0620 /dev/kmsg
|
||||||
|
|
||||||
# ZRAM setup
|
# ZRAM setup
|
||||||
write /sys/block/zram0/comp_algorithm lz4
|
write /sys/block/zram0/comp_algorithm zstd
|
||||||
|
write /sys/block/zram0/use_dedup 1
|
||||||
write /proc/sys/vm/page-cluster 0
|
write /proc/sys/vm/page-cluster 0
|
||||||
|
|
||||||
on fs
|
on fs
|
||||||
|
|||||||
Reference in New Issue
Block a user