LeiOS Performance Tweaks

leios.system.performance-tweaks.base

by LeiOS ProjectVerified publisher

Homepage

About

LeiOS performance defaults.

This package sets the LeiOS defaults for memory and swap on every system:

  • compressed swap in RAM (zram, zstd) of half the memory, at most 8 GiB, used before swap on disk
  • vm.swappiness = 100 and vm.page-cluster = 0, which suit swap on zram

These are defaults only: /etc/systemd/zram-generator.conf (or snippets in /etc/systemd/zram-generator.conf.d/) and files in /etc/sysctl.d/ take precedence. It replaces zram-tools, which would set up the same zram device.

Install

Install it from the LeiOS repositories with apt.

$sudo apt install leios.system.performance-tweaks.base

Release history

1 release, newest first

  • Initial release: zram swap (zstd, half the memory, at most 8 GiB) through systemd-zram-generator, vm.swappiness = 100 and vm.page-cluster = 0, as vendor defaults that /etc overrides.

© 2026 LeiOS Project. Open Source under AGPL-3.0 License.

Built with ❤️ for the community