-
Notifications
You must be signed in to change notification settings - Fork 49
New Package Request: zram-generator #905
Copy link
Copy link
Closed
flatcar/scripts
#1772Labels
good first issueGet started with Flatcar contribution with this issue.Get started with Flatcar contribution with this issue.kind/new-package
Description
Package name and purpose
This generator provides a simple and fast mechanism to configure swap on /dev/zram* devices.
- Package upstream repo: [ link to the package’s upstream repo ]
- Gentoo ebuild: [ link to package’s Gentoo ebuild if exists ]
Impact of adding this package to the Flatcar OS image
The package improves on the following core values:
- Secure by default
- Always up to date
- Improve container experience
- Operate at scale / automation / telemetry
The package will increase the image size by: 0.8 MBytes.
How might this package increase the attack surface:
- Very limited
Benefits of adding this package
Flatcar has some light documentation on using zram swap: https://flatcar-linux.org/docs/latest/setup/storage/adding-swap/#using-zram but its manual.
Being able to use zram-generator will:
- Automate the process of zram swap creation
- Enable easy config for the swap size logic (Fedora's default is 1:1 system memory or 8GB - whichever is smaller, example config:
zram-size = min(ram, 8192)) - Manage creating of swap - no need to try and hand craft system unit files to load modules, create device, turn it on, etc.
Additional information
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
good first issueGet started with Flatcar contribution with this issue.Get started with Flatcar contribution with this issue.kind/new-package