Difference between revisions of "Swap"

756 bytes removed ,  1 year ago
Removed section on systemd-swap.
m
(Removed section on systemd-swap.)
Line 207: Line 207:


<translate>
<translate>
==Installing and Configuring systemd-swap== <!--T:57-->
{{Warning|This and following sections on zswap is going to be removed - please use zram instead.}}
<!--T:58-->
First, install and enable {{ic|systemd-swap}}:</translate>
pamac install systemd-swap
sudo systemctl enable systemd-swap.service
<translate><!--T:59--> Next enable dynamic swap management by creating a file {{ic|/etc/systemd/swap.conf.d/myswap.conf}} with the following parameters:</translate>
zswap_enabled=0
zram_enabled=0
swapfc_enabled=1
<translate><!--T:60--> If you would prefer a single command to create this file you could use:</translate>
sudo bash -c 'echo -e "zswap_enabled=0\nzram_enabled=0\nswapfc_enabled=1" > /etc/systemd/swap.conf.d/myswap.conf'
<translate>
==Remove Other Swap== <!--T:61-->
==Remove Other Swap== <!--T:61-->


Moderators, translator
455

edits