Re: Swap on BTRFS

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

 



On Thu, 2020-11-05 at 15:23 -0800, Samuel Sieb wrote:
> On 11/5/20 2:23 PM, Patrick O'Callaghan wrote:
> > On Thu, 2020-11-05 at 10:47 -0800, Samuel Sieb wrote:
> > > Yes.  But have you enabled zram yet for swap?
> > 
> > This is a clean install, so it's enabled by default and has reserved
> > 4GB. I think that's what's actually causing the OOMs. I have 16GB of
> > RAM. On F32 I could run an 8GB VM with hugepages, i.e. dedicated
> > memory, plus normal stuff including multiple browser tabs etc. and
> > never had a problem. Now as soon as I try to start the VM it gets OOM
> > errors, and multiple Firefox tabs are failing and have to be restarted.
> 
> Check what's using the memory.  zram doesn't *reserve* memory.  It 
> doesn't use any memory until you start swapping out.  Try increasing the 
> zram size.  I would suggest at least 12GB.  On my 12GB laptop, I have it 
> set to 12GB.

Trying to get my head around that. You mean all of your RAM is
potentially usable as compressed swap? How does that work? Surely it
can never reach that limit?

poc
_______________________________________________
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



[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