swapfile query
Cy Schubert
Cy.Schubert at komquats.com
Sat Aug 19 19:50:30 UTC 2017
In message <BAD32602-C6A9-4A82-B0CB-148D313B90D6 at FreeBSD.org>, David
Chisnall w
rites:
> On 19 Aug 2017, at 17:54, Cy Schubert <Cy.Schubert at komquats.com> wrote:
> >
> >> 3. should total swap be 1x 2x or some other multiple of RAM these days?
> >
> > Depends. If you're running some kind of database server or OLTP
> > application. Some vendors recommend no swap whatsoever while others
> > recommend some. What does your application vendor recommend?
>
> The main advantage of swap these days (on machines with that sort of amount o
> f RAM) is to allow you to keep some file-backed memory objects in memory in p
> reference to leaked (or very cold) heap memory.
Memory overcommitment and the working set of each address space determines
how much and what is paged out.
--
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX: <cy at FreeBSD.org> Web: http://www.FreeBSD.org
The need of the many outweighs the greed of the few.
More information about the freebsd-current
mailing list