Enable zram on live
This allows Linux to compress RAM, which should help mitigate memory pressure.
This commit is contained in:
parent
6b327be311
commit
e1fe68ad59
3 changed files with 7 additions and 3 deletions
2
os/layers/live/includes.chroot/etc/default/zramswap
Normal file
2
os/layers/live/includes.chroot/etc/default/zramswap
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
ALGO=zstd
|
||||||
|
PERCENT=80
|
||||||
5
os/layers/live/package-lists/live-extra.list.chroot
Normal file
5
os/layers/live/package-lists/live-extra.list.chroot
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
# Show progress while copying squashfs to RAM.
|
||||||
|
rsync
|
||||||
|
|
||||||
|
# Enable zram to make better use of available RAM.
|
||||||
|
zram-tools
|
||||||
|
|
@ -1,4 +1 @@
|
||||||
sudo
|
sudo
|
||||||
|
|
||||||
# Show progress while copying squashfs to RAM.
|
|
||||||
rsync
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue