Skip to content

Commit

Permalink
Update zram
Browse files Browse the repository at this point in the history
  • Loading branch information
the-sane authored Sep 11, 2024
1 parent 2ea43d0 commit 9d3c8ac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion wiki/Performance-Tuning.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ Zram stores swap in RAM using on-the-fly compression which can improve game perf
- For systems with 16GB RAM, we recommend all 16GB configured for zram with at least an 8GB swap file.
- For systems with 32GB RAM, we recommend configuring all 32GB for zram with at least a couple extra GB in a swap file.

See the [Arch Wiki](https://wiki.archlinux.org/title/Zram#Using_zram-generator) for configuration instructions that should work for most distros.
> [!tip]
> When using zram, zswap needs to be [disabled](https://wiki.archlinux.org/title/Zswap#Toggling_zswap).
> See the [Arch Wiki](https://wiki.archlinux.org/title/Zram#Using_zram-generator) for zram configuration instructions that should work for most distros.
If you prefer not to use zram, a swap file will need to be [configured](https://wiki.archlinux.org/title/Swap#Swap_file). Btrfs users please follow the [Btrfs instructions](https://wiki.archlinux.org/title/Btrfs#Swap_file). We recommend configuring at least a combined 40GB RAM + swap:
- For 16GB RAM: 24GB swap
Expand Down

0 comments on commit 9d3c8ac

Please sign in to comment.