rosemary: tune zram performance

-Set max_comp_streams to num of cores since upstream also moves this to
percpu.

Bug: 38249616
Test: boot and run zram-perf showing better performance
Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1
This commit is contained in:
Wei Wang
2022-09-22 20:03:56 +01:00
committed by Matsvei Niaverau
parent 93459dd3c4
commit badf7de3ee

View File

@@ -54,4 +54,4 @@ product /product ext4
/devices/platform/externdevice* auto auto defaults voldmanaged=sdcard1:auto,encryptable=userdata
/devices/platform/usb3_xhci* auto vfat defaults voldmanaged=usbotg:auto
/dev/block/zram0 none swap defaults zramsize=2147483648
/dev/block/zram0 none swap defaults zramsize=2147483648,max_comp_streams=8