On Tue, Feb 28, 2023 at 3:02 PM Ranjan Maitra <mlmai...@gmx.com> wrote:
> On Tue Feb28'23 01:56:08PM, Richard Shaw wrote:
> > On Tue, Feb 28, 2023 at 1:43 PM Ranjan Maitra <mlmai...@gmx.com> wrote:
> >
> > > I am trying to install Fedora on to a new machine that has 0.5 TB RAM.
> > > Hard drives are 256 GB for / and friends, and 2 TB for /home partition. In
> > > the past, it used to be suggested that swap be twice that of RAM: this
> > > later changed to the same amount, and now it is very unclear (to me)
> > > because I have not tracked the latest recommendations. Anyway, what would
> > > you suggest? The machine is a Dell Precision 7920 with 28 cores/56 
> > > threads.
> > >
> >
> > By 0.5TB you mean 512GB of ram? Assuming you're installing Fedora 36 or 37,
> > I would just leave the defaults alone, which utilizes swap on zram. So
> > basically it won't use any swap unless needed. You can adjust the amount of
> > memory allowed to be used for swap.
>
> Right, thanks. So, I let the installer pick this up. I usually do a custom 
> partitioning, does that mean that I do not declare anything for swap?

And set swappiness to something low, like 1. There's almost no reason
to allow anything to spill into the swap file with 512GB of RAM.

In fact, my daily driver has 64GB of RAM, and I set the swap file size
to 4 GB and set swappiness to 1. The 4 GB swap is there for
emergencies, but I don't think it's ever been needed.

Jeff
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to