Re: No Swap Allocation in FSTAB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 19/06/2021 21:44, Stephen Morris wrote:
On 19/6/21 15:31, Ed Greshko wrote:
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.
Thanks Ed, I'll check that man data out. In my case with an auto storage configuration at F34 install time there isn't any swap entry in fstab or swap partition. I think I need to expand this in virtualbox as I think that virtualbox's lack of video memory is causing performance issues in F34.


My system has been upgraded from versions without ZRAM.  That is the reason my system has a defined swap
partition on disk.

I don't see the connection between Video Memory and swap.

VirtualBox has a per-VM setting for its display and video memory. At least that is the case for VirtualBox running
as a host on linux.  I seem to recall you're using VirtualBox on HW running Windows?

--
Remind me to ignore comments which aren't germane to the thread.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux