Utilize zram on low memory boots

Bug #943470 reported by Ryan Finnie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Finnix
Fix Released
Low
Finnix developers

Bug Description

Swap-over-zram would be useful for increasing effective memory on low memory systems. However, it is confusing (it shows 100% swap being available), so it's probably not best to always use it by default. Say, 64MB or less would trigger it automatically, but could be forced on/off by boot command line.

Busybox will need to be recompiled to add mkswap.

udev isn't available at initramfs time, so /dev/zram0 will need to be created manually, similar to /dev/guesses entries.

More reading:
https://lists.ubuntu.com/archives/ubuntu-devel-discuss/2012-February/013351.html
http://www.webupd8.org/2011/10/increased-performance-in-linux-with.html

Ryan Finnie (fo0bar)
Changed in finnix:
status: New → In Progress
Ryan Finnie (fo0bar)
Changed in finnix:
assignee: Ryan Finnie (fo0bar) → Finnix developers (finnix-dev)
Revision history for this message
Ryan Finnie (fo0bar) wrote :

zram support has been added to the initrd. It will automatically be activated on systems with <= 128MB memory, and can be manually enabled or disabled with the "zram" or "nozram" boot options.

Changed in finnix:
status: In Progress → Fix Committed
Ryan Finnie (fo0bar)
Changed in finnix:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.