Arch and ZRam
#5
(09-15-2020, 06:41 AM)wd5gnr Wrote: From: https://wiki.archlinux.org/index.php/Imp...m_or_zswap


Quote:
The systemd-swap package provides a systemd-swap.service unit to automatically initialize zram devices. Configuration is possible in /etc/systemd/swap.conf.
The package zramswapAUR provides an automated script for setting up a swap with a higher priority and a default size of 20% of the RAM size of your system. To do this automatically on every boot, enable zramswap.service.

I installed zramswap and found that /etc/zramswap.conf actually sets 40% (the default is 20 if you don't set it there). However, it does seem like that has been a good performance boost, especially when running Vivaldi.

I am using zramswap with
Code:
ZRAM_SIZE_PERCENT=100
and I believe I notice a significant performance boost. How do I make this survive a reboot? Now I have to do
Code:
systemctl start zramswap
after rebooting?


Messages In This Thread
Arch and ZRam - by wd5gnr - 09-15-2020, 06:41 AM
RE: Arch and ZRam - by peperjohnny - 09-16-2020, 06:17 AM
RE: Arch and ZRam - by wd5gnr - 09-16-2020, 09:49 AM
RE: Arch and ZRam - by wd5gnr - 10-27-2020, 08:59 PM
RE: Arch and ZRam - by tomoqv - 12-03-2020, 04:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Arch Linux (danctnix) virtual keyboard layout change cudo 0 1,382 09-27-2023, 12:19 PM
Last Post: cudo
  Arch Linux ARM on PineTab 1 Danct12 25 34,263 06-10-2023, 05:33 PM
Last Post: fxc
Video Does DactNix Arch Linux support my use case? BlueGalaxy 22 10,054 05-18-2023, 03:45 AM
Last Post: KC9UDX
  Arch, Plasma desktop and wayland peperjohnny 49 68,665 06-10-2021, 08:31 AM
Last Post: peperjohnny
  Got Vivaldi Working on Arch! wd5gnr 3 7,164 11-09-2020, 12:13 PM
Last Post: hanscees
  zram guenther 0 2,700 10-26-2020, 05:52 AM
Last Post: guenther
  Any way to disable wake on power connect/full charge? (Arch) quipacorn 3 6,357 10-14-2020, 10:00 AM
Last Post: quipacorn

Forum Jump:


Users browsing this thread: 1 Guest(s)