On 19/06/2021 12:45, Stephen Morris wrote:
Hi,
I've noticed when trying remediate performance issues in F34 under a vm, that
fedora does not have a swap specification in fstab anymore, but is using, in my case, and
8GB swap partition in /dev/zram0. Does this mean that if I create a swap partition of a
bigger size and specify it in fstab it will be ignored?
Ignored? No. But not primary. e.g.
[egreshko@meimei ~]$ swapon
NAME TYPE SIZE USED PRIO
/dev/sda2 partition 16.9G 0B -2
/dev/zram0 partition 4.7G 0B 100
So, it may or may not be used.
Alternatively, given the fedora is using it's own rules for
determining the swap size based on the amount of memory available, is there any way to
increase the size of /dev/zram0 so that there is more swap space available to the system?
I think
man zram-generator
will help in that.
--
Remind me to ignore comments which aren't germane to the thread.