I've added "zRam" to the kernel. This feature was previously known as "compcache". It increases performance by avoiding paging on disk and instead uses a compressed block device in RAM in which paging takes place until it is necessary to use external (disk) swap space.I'm still testing it, but it seems to have a positive effect in terms of performance.
You have to enable it manually for now. Use a terminal emulator or use "adb shell" to do this more comfortably from your desktop.
To setup a 100Kb (100*1024*1024) zRam:
echo 104857600 > /sys/block/zram0/disksize
mkswap /dev/block/zram0
swapon /dev/block/zram0
To disable the zRam:
swapoff /dev/block/zram0
Remember this won't survive a reboot, so you have to re-enable it again after reboot.
Download the kernel here (MD5: a89bd97f940cc33c11ca7cc73d521abb)
[ 8 comments ] ( 254 views ) | permalink |




( 3 / 1175 )

Search








