debloper / debloper/xiosk

Zswap enabled by default - Could give a bit more reliability with more tabs

Open
#51 7 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue priority: medium
Dominant language
Astro
Stars
348
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Add these to the cmdline.txt when installing.

zswap.enabled=1 zswap.compressor=lz4 zswap.zpool=z3fold

This will allow compressable objects to be compressed and stored compressed in ram. On a raspberry pi 3, it shouldn't effect performance much at all. It's actually recommended by Ubuntu. See this:

https://www.cnx-software.com/2022/01/13/ubuntu-22-04-zswap-raspberry-pi-4-2gb-ram/

I'm going to try it to see if my once a day reboot will still be ok. Right now I have a video file within a website and it doesn't last the day right now.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the installation flow that creates or edits cmdline.txt and read how boot parameters are currently added. Verify the requested zswap parameters are included for Raspberry Pi installations, then confirm the generated cmdline.txt contains them without disrupting existing options.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, raspberry-pi
Domain
operating-systems
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.