Re: Swap on BTRFS

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

 



On Wed, 2020-11-11 at 01:12 -0700, Chris Murphy wrote:
> On Thu, Nov 5, 2020, 3:24 PM Patrick O'Callaghan <pocallaghan@xxxxxxxxx>
> wrote:
> 
> 
> > 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.
> 
> 
> Oof!
> 
> One 8G VM , and how many FF tabs? What VM guest?

The guest is Windows 10. I have since configured a large swapfile on my
SSD (with BTRFS) and the improvement has been dramatic, both in
performance and in OOMs (which have vanished completely). There's still
a zram device as well (4GB) but I've just left it untouched for now.

> You can certainly experiment with a custom zram-generator.conf and xhange
> the limit to 16G. You'll get an 8G zram device in this case, if you make no
> other changes to the configuration.
> 
> I'm curious at what minimum zram allocation this problem doesn't happen.
> 6G, 8G, 10G?

Maybe I'll get round to testing that, but for now it works and I'm not
keen to mess with it.

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