Try ZRAM and KSM to improve memory situation on Touchpad (Bug #795)


Added by Simon Busch about 3 years ago. Updated 4 months ago.


Status:In Progress Start date:01/11/2015
Priority:Normal Due date:
Assignee:Christophe Chapuis % Done:

50%

Category:Device Specific
Target version:Later


History

Updated by Simon Busch about 3 years ago

  • Target version set to Americano
  • Assignee set to Simon Busch
  • Category set to Device Specific

Updated by Simon Busch about 3 years ago

Both are already activated in our current kernel config.

  • % Done changed from 0 to 20
  • Status changed from New to In Progress

Updated by Simon Busch almost 3 years ago

  • Target version changed from Americano to Au lait

Updated by Simon Busch almost 3 years ago

Not needed atm with the memory leak being fixed.

  • Target version changed from Au lait to Later

Updated by Herman van Hazendonk 7 months ago

  • Assignee changed from Simon Busch to Christophe Chapuis

Updated by Herman van Hazendonk 4 months ago

Kernel options are enabled as per https://github.com/shr-distribution/meta-smartphone/blob/pyro/meta-hp/recipes-kernel/linux/linux-hp-tenderloin/defconfig#L3157 and https://github.com/shr-distribution/meta-smartphone/blob/pyro/meta-hp/recipes-kernel/linux/linux-hp-tenderloin/defconfig#L708

Seems we'd still need to take care of
Add to /fstab.[product name]:
/dev/block/zram0 none swap defaults
zramsize=<size in bytes>,swapprio=<swap partition priority>
• Add to /init.[product name].rc:
swapon_all /fstab.[product name]

  • % Done changed from 20 to 50

Also available in: Atom PDF